Created
February 25, 2021 05:51
-
-
Save mr-pascal/796c806b01f6225563a2c26c2328b2c9 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
func checkError(message string, err error) { | |
// Error Logging | |
if err != nil { | |
log.Fatal(message, err) | |
} | |
} | |
type Person struct { | |
Firstname string | |
Lastname string | |
Country string | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment