// service.go package service type Service interface { Hello() Inc() } type ServiceOne struct { Name string Nums []int } type ServiceTwo struct { Name string Nums []int } func (s ServiceOne) Inc() { for i := 0; i < 10...

Markdown supported · ⌘↵ to post
No responses yet.