func main() { req := command.Read() files := req.GetProtoFile() vanity.ForEachFile(files, vanity.TurnOnMarshalerAll) vanity.ForEachFile(files, vanity.TurnOnSizerAll) vanity.ForEachFile(files, vanity.TurnOnUnmarshalerAll) resp := command.Generate(req) command.Write(resp) }
func main() { req := command.Read() files := req.GetProtoFile() vanity.ForEachFile(files, vanity.TurnOnMarshalerAll) vanity.ForEachFile(files, vanity.TurnOnSizerAll) vanity.ForEachFile(files, vanity.TurnOnUnmarshalerAll) vanity.ForEachFieldInFiles(files, vanity.TurnOffNullableForNativeTypesOnly) vanity.ForEachFile(files, vanity.TurnOffGoGettersAll) vanity.ForEachFile(files, vanity.TurnOffGoUnrecognizedAll) resp := command.Generate(req) command.Write(resp) }