This repository was archived by the owner on Dec 5, 2017. It is now read-only.

Description
skynet service hadn't GetServiceConfig function, it change to NewServiceInfo.
func main() {
tutorial := &TutorialService{}
config := skynet.NewServiceInfo("TutorialService", "1")
config.Region = "Development"
service := service.CreateService(tutorial, config)
defer func() {
service.Shutdown()
}()
waiter := service.Start()
waiter.Wait()
}
However, I found the exception ,
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x4f0a9e]