20 lines
263 B
Go
20 lines
263 B
Go
package service
|
|
|
|
import (
|
|
"blazing/cool"
|
|
|
|
"blazing/modules/demo/model"
|
|
)
|
|
|
|
type DemoSampleService struct {
|
|
*cool.Service
|
|
}
|
|
|
|
func NewDemoSampleService() *DemoSampleService {
|
|
return &DemoSampleService{
|
|
&cool.Service{
|
|
Model: model.NewDemoSample(),
|
|
},
|
|
}
|
|
}
|