go-common/app/job/main/tv/dao/ftp/dao.go
2019-04-22 18:49:16 +08:00

19 lines
226 B
Go

package ftp
import (
"go-common/app/job/main/tv/conf"
)
// Dao dao.
type Dao struct {
conf *conf.Config
}
// New create a instance of Dao and return.
func New(c *conf.Config) (d *Dao) {
d = &Dao{
conf: c,
}
return
}