add eval,split const type
fix cgo according to new guide