mirror of https://github.com/jlelse/GoBlog
8 lines
85 B
Go
8 lines
85 B
Go
|
package main
|
||
|
|
||
|
func (a *goBlog) cleanup() {
|
||
|
if a.db != nil {
|
||
|
_ = a.db.close()
|
||
|
}
|
||
|
}
|