Created
July 15, 2022 14:20
-
-
Save nwillc/7d3d9cb2ea3ef2330d4c4c8866cc959c to your computer and use it in GitHub Desktop.
Go JSON signatures
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
// This returns a single error and mutates v! | |
func json.Unmarshal(data []byte, v any) error {} | |
// This mutates b and returns an int and an error. | |
func (f *File) os.ReadAt(b []byte, off int64) (n int, err error) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment