Skip to content

Instantly share code, notes, and snippets.

@goksu

goksu/app.go Secret

Last active August 21, 2021 20:13
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 goksu/66c5fbd89b4e764e911e6c40c66df43d to your computer and use it in GitHub Desktop.
Save goksu/66c5fbd89b4e764e911e6c40c66df43d to your computer and use it in GitHub Desktop.
func main() {
...
gps := ...
distance, err := gps.MeasureDistance(...)
if err != nil {
errorLogger.Log(err)
errorCounter.add(1)
...
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment