{
"organization": "Acme Corportation",
"department": "Engineering",
"links": [
{
"rel": "blog",
"href": "https://acme.co/blogs/engineering",
"type": "GET"
},
This file contains 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
package vmath | |
type Vector3 struct { | |
X, Y, Z float64 | |
} | |
func NewVector3(x, y, z float64) Vector3 { | |
return Vector3{x, y, z} | |
} |
This file contains 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
package terminal | |
import ( | |
"unsafe" | |
) | |
const ( | |
ASCIIBlank = 32 | |
VMax = 25 | |
HMax = 80 |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am djames-bloom on github. | |
* I am danjames (https://keybase.io/danjames) on keybase. | |
* I have a public key ASCMeBB3Ka0qsAsl0txvxTyQ4q1zLf_V3hR8DMyPepEfdQo | |
To claim this, I am signing this object: |
This file contains 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
package util | |
// Ref - http://www.isthe.com/chongo/tech/comp/fnv/ | |
const ( | |
FNVOffsetBasis64 = uint64(14695981039346656037) | |
FNVPrime64 = uint64((1 << 40) + 435) | |
FNVMask64 = uint64(^uint64(0) >> 1) | |
Bits = 64 | |
) |