Skip to content

Instantly share code, notes, and snippets.

@edrex
Created August 5, 2016 21:39
Show Gist options
  • Save edrex/99c8de59438268abdc9e0783c01a70d0 to your computer and use it in GitHub Desktop.
Save edrex/99c8de59438268abdc9e0783c01a70d0 to your computer and use it in GitHub Desktop.
Go Oracle
/Users/eric/go/src/github.com/sixgill/service/switch/cmd/device/service.go:380:25: cannot use float32(math.Mod(float64(gpsLocation.Heading) + (r.NormFloat64() * float64(stdDeltas.Heading)) + headingDelta, 360.)) (value of type float32) as float64 value in assignment
/Users/eric/go/src/github.com/sixgill/service/switch/cmd/device/service.go:382:4: invalid operation: mismatched types float64 and float32
/Users/eric/go/src/github.com/sixgill/service/switch/cmd/device/service.go:384:28: invalid operation: mismatched types float32 and float64
oracle: couldn't load packages due to errors: github.com/sixgill/service/switch/cmd/device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment