boilerplate code
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package sensors
|
||||
|
||||
type Service struct {
|
||||
repo Repository
|
||||
}
|
||||
|
||||
func NewService(repo Repository) *Service {
|
||||
return &Service{
|
||||
repo: repo,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user