github.com/sandwich-go/boost@v1.3.29/xhash/hash14v/option.go (about) 1 package hash14v 2 3 import "github.com/sandwich-go/boost/z" 4 5 //go:generate optiongen --option_with_struct_name=false --new_func=NewOptions --xconf=true --empty_composite_nil=true --usage_tag_name=usage 6 func OptionsOptionDeclareWithDefault() interface{} { 7 return map[string]interface{}{ 8 "HashKey": []byte(z.StringToBytes("nlCwbUUd")), // @MethodComment(hash使用的key) 9 "HashOffset": []byte(z.StringToBytes("FAAAAAA")), // @MethodComment(hash的偏移值) 10 "UsingReservedBuff": false, // @MethodComment(解压缩等级) 11 } 12 }