github.com/sandwich-go/boost@v1.3.29/xcompress/option.go (about)

     1  package xcompress
     2  
     3  //go:generate optiongen --option_with_struct_name=false --new_func=NewOptions --xconf=true --empty_composite_nil=true --usage_tag_name=usage
     4  func OptionsOptionDeclareWithDefault() interface{} {
     5  	return map[string]interface{}{
     6  		"Type":  Type(GZIP),              // @MethodComment(解压缩类型)
     7  		"Level": int(DefaultCompression), // @MethodComment(解压缩等级)
     8  	}
     9  }