You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
197 B
Go

package s2s
import (
"joybuywork/internal/repository/dao"
)
type Option func(s2s *S2S)
func SetDao(d *dao.Query) Option {
return func(s2s *S2S) {
s2s.Context.Init(s2s.Ctx, d, s2s.BE())
}
}