go-common/app/job/main/tv/dao/ftp/dao.go

19 lines
226 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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
}