| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This package supposed to focus on type generation based on proto file.
go install github.com/infiniteloopcloud/protoc-gen-go-types@latestThese are actually environment variables.
Supported overwrite:
syntax = "proto3";
message SomeStruct {
TimeTime created_at = 1; // This will be time.Time
}
message TimeTime {}Currently the overwritten FieldOptions (go_type, go_import, go_import_alias, go_zero_override) must be paired with these numbers: go_type = 1001 go_import = 1002 go_import_alias = 1003 go_zero_override = 1004 go_struct_tags = 1005 Because protoc can't process the extended options, so we can't find the by name, just by place.
| Back | FazBrowse Home | New Git URL |