Skip to content

Instantly share code, notes, and snippets.

@dolanor
Created December 24, 2019 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolanor/e3451479c6c16bcc8cd241844a075415 to your computer and use it in GitHub Desktop.
Save dolanor/e3451479c6c16bcc8cd241844a075415 to your computer and use it in GitHub Desktop.
package remotobug
type Info struct {
ID int
Long string
}
package remotobug
type Infoer interface {
Get(GetRequest) GetResponse
}
type GetRequest struct {
ID int
}
type GetResponse struct {
Info Info
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment