Created
December 24, 2019 03:45
-
-
Save dolanor/e3451479c6c16bcc8cd241844a075415 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package remotobug | |
type Info struct { | |
ID int | |
Long string | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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