Bot releases are hidden (Show)
Published by lrstanley about 2 years ago
remove_tag_comment
to remove gotag annotations by @superqtqt in https://github.com/favadi/protoc-go-inject-tag/pull/55
Full Changelog: https://github.com/favadi/protoc-go-inject-tag/compare/v1.3.0...v1.4.0
Published by lrstanley about 3 years ago
// file: test.proto
syntax = "proto3";
package pb;
option go_package = "/pb";
message IP {
string Address = 1; // @gotags: valid:"ip"
string MAC = 2; // @gotags: validate:"omitempty"
}
// file: test.proto
syntax = "proto3";
package pb;
option go_package = "/pb";
message IP {
// @gotags: valid:"ip"
string Address = 1;
// Or:
string MAC = 2; // @gotags: validate:"omitempty"
}
Some previous cli flags and tags have been marked as deprecated. To see more, check out the README.
For a full list of changes, see here.
Published by favadi about 3 years ago
Thank @lrstanley for contributing following PRs: