Skip to content

Instantly share code, notes, and snippets.

@goksu

goksu/measure.go Secret

Last active August 21, 2021 20:34
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/6d8bc4116f8b2651f4039bff76d0191b to your computer and use it in GitHub Desktop.
Save goksu/6d8bc4116f8b2651f4039bff76d0191b to your computer and use it in GitHub Desktop.
func MeasureDistance() (distance int, err Error) {
someCalculus()
unexpectedDivideByZeroFunc()
// TODO: Send the errors back when the inner funcs start reporting them.
return distance, nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment