You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
345 B
20 lines
345 B
package display |
|
|
|
import ( |
|
"go-common/app/interface/main/app-interface/conf" |
|
locdao "go-common/app/interface/main/app-interface/dao/location" |
|
) |
|
|
|
// Service is zone service. |
|
type Service struct { |
|
// ip |
|
loc *locdao.Dao |
|
} |
|
|
|
// New initial display service. |
|
func New(c *conf.Config) (s *Service) { |
|
s = &Service{ |
|
loc: locdao.New(c), |
|
} |
|
return |
|
}
|
|
|