Skip to content

Instantly share code, notes, and snippets.

@davecheney
Created August 9, 2012 04:18
Show Gist options
  • Select an option

  • Save davecheney/3300902 to your computer and use it in GitHub Desktop.

Select an option

Save davecheney/3300902 to your computer and use it in GitHub Desktop.
package main
/*
enum Const {
ZERO,
ONE,
};
*/
import "C"
import "fmt"
func main() {
fmt.Println(int64(C.ZERO))
//fmt.Println(int64(C.ONE))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment