import (
"context"
"fmt"
cconf "github.com/pip-services4/pip-services4-go/pip-services4-components-go/config"
cref "github.com/pip-services4/pip-services4-go/pip-services4-components-go/refer"
)
func main() {
// Instantiation
myController := &MyService{}
}
type MyService struct {
}
func (c *MyService) Configure(ctx context.Context, config *cconf.ConfigParams) {
}
func (c *MyService) SetReferences(ctx context.Context, references cref.IReferences) {
}
func (c *MyService) MyMethod() {
fmt.Println("Hello world")
}