diff --git a/Makefile b/Makefile index 11c406bec..bb6a18d7e 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,7 @@ all: lint cover bazeltest bazelbuild install: go install ./cmd/prototool -.PHONy: bins +.PHONY: bins bins: go build ./cmd/prototool diff --git a/cmd/prototool/main.go b/cmd/prototool/main.go index 55fc53a0e..8342781e2 100644 --- a/cmd/prototool/main.go +++ b/cmd/prototool/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/example/cmd/excited/main.go b/example/cmd/excited/main.go index 643196da0..892d17595 100644 --- a/example/cmd/excited/main.go +++ b/example/cmd/excited/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/example/gen/go/uber/bar/v1/bar.pb.go b/example/gen/go/uber/bar/v1/bar.pb.go index 85643e0f3..b08d84dc5 100644 --- a/example/gen/go/uber/bar/v1/bar.pb.go +++ b/example/gen/go/uber/bar/v1/bar.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: uber/bar/v1/bar.proto -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/example/gen/go/uber/foo/v1/excited_api.pb.go b/example/gen/go/uber/foo/v1/excited_api.pb.go index 1c11ea5f0..a7d8193c9 100644 --- a/example/gen/go/uber/foo/v1/excited_api.pb.go +++ b/example/gen/go/uber/foo/v1/excited_api.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: uber/foo/v1/excited_api.proto -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/example/gen/go/uber/foo/v1/foo.pb.go b/example/gen/go/uber/foo/v1/foo.pb.go index 5440c90e5..be33a425e 100644 --- a/example/gen/go/uber/foo/v1/foo.pb.go +++ b/example/gen/go/uber/foo/v1/foo.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: uber/foo/v1/foo.proto -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/example/gen/go/uber/foo/v1/hello_api.pb.go b/example/gen/go/uber/foo/v1/hello_api.pb.go index 51f56b422..e3eaa6ed7 100644 --- a/example/gen/go/uber/foo/v1/hello_api.pb.go +++ b/example/gen/go/uber/foo/v1/hello_api.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: uber/foo/v1/hello_api.proto -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/breaking.go b/internal/breaking/breaking.go index c8f35a4f3..938c06a04 100644 --- a/internal/breaking/breaking.go +++ b/internal/breaking/breaking.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/breaking_test.go b/internal/breaking/breaking_test.go index 52eebb867..2a1b7c4cd 100644 --- a/internal/breaking/breaking_test.go +++ b/internal/breaking/breaking_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_enum_values_not_deleted.go b/internal/breaking/check_enum_values_not_deleted.go index 92433cb25..293243a01 100644 --- a/internal/breaking/check_enum_values_not_deleted.go +++ b/internal/breaking/check_enum_values_not_deleted.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_enum_values_same_name.go b/internal/breaking/check_enum_values_same_name.go index 69a70dd43..b5d56b39b 100644 --- a/internal/breaking/check_enum_values_same_name.go +++ b/internal/breaking/check_enum_values_same_name.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_enums_not_deleted.go b/internal/breaking/check_enums_not_deleted.go index c3e907bcd..d95d54724 100644 --- a/internal/breaking/check_enums_not_deleted.go +++ b/internal/breaking/check_enums_not_deleted.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_message_fields_not_deleted.go b/internal/breaking/check_message_fields_not_deleted.go index 6b3e0d6c0..b2a16f23e 100644 --- a/internal/breaking/check_message_fields_not_deleted.go +++ b/internal/breaking/check_message_fields_not_deleted.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_message_fields_same_label.go b/internal/breaking/check_message_fields_same_label.go index 8707ad090..acf9c2b04 100644 --- a/internal/breaking/check_message_fields_same_label.go +++ b/internal/breaking/check_message_fields_same_label.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_message_fields_same_name.go b/internal/breaking/check_message_fields_same_name.go index 48bcbc3b0..870a1678a 100644 --- a/internal/breaking/check_message_fields_same_name.go +++ b/internal/breaking/check_message_fields_same_name.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_message_fields_same_oneof.go b/internal/breaking/check_message_fields_same_oneof.go index e91007053..5ebb0f000 100644 --- a/internal/breaking/check_message_fields_same_oneof.go +++ b/internal/breaking/check_message_fields_same_oneof.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_message_fields_same_type.go b/internal/breaking/check_message_fields_same_type.go index d485b9935..a1d8aa5aa 100644 --- a/internal/breaking/check_message_fields_same_type.go +++ b/internal/breaking/check_message_fields_same_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_message_oneofs_fields_not_removed.go b/internal/breaking/check_message_oneofs_fields_not_removed.go index f367e09e1..ee74068b0 100644 --- a/internal/breaking/check_message_oneofs_fields_not_removed.go +++ b/internal/breaking/check_message_oneofs_fields_not_removed.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_message_oneofs_not_deleted.go b/internal/breaking/check_message_oneofs_not_deleted.go index 614de05be..22dde803d 100644 --- a/internal/breaking/check_message_oneofs_not_deleted.go +++ b/internal/breaking/check_message_oneofs_not_deleted.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_messages_not_deleted.go b/internal/breaking/check_messages_not_deleted.go index 912147364..dd27375de 100644 --- a/internal/breaking/check_messages_not_deleted.go +++ b/internal/breaking/check_messages_not_deleted.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_packages_no_beta_deps.go b/internal/breaking/check_packages_no_beta_deps.go index 6897cf051..3da30cf7c 100644 --- a/internal/breaking/check_packages_no_beta_deps.go +++ b/internal/breaking/check_packages_no_beta_deps.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_packages_not_deleted.go b/internal/breaking/check_packages_not_deleted.go index 63712d921..51c33f492 100644 --- a/internal/breaking/check_packages_not_deleted.go +++ b/internal/breaking/check_packages_not_deleted.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_service_methods_not_deleted.go b/internal/breaking/check_service_methods_not_deleted.go index 26f2deca3..066b89cfd 100644 --- a/internal/breaking/check_service_methods_not_deleted.go +++ b/internal/breaking/check_service_methods_not_deleted.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_service_methods_same_client_streaming.go b/internal/breaking/check_service_methods_same_client_streaming.go index 90f63aa2c..ef2908bbf 100644 --- a/internal/breaking/check_service_methods_same_client_streaming.go +++ b/internal/breaking/check_service_methods_same_client_streaming.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_service_methods_same_request_type.go b/internal/breaking/check_service_methods_same_request_type.go index 512305362..e6a5f10c5 100644 --- a/internal/breaking/check_service_methods_same_request_type.go +++ b/internal/breaking/check_service_methods_same_request_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_service_methods_same_response_type.go b/internal/breaking/check_service_methods_same_response_type.go index c00f7f5a8..1e237f1e1 100644 --- a/internal/breaking/check_service_methods_same_response_type.go +++ b/internal/breaking/check_service_methods_same_response_type.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_service_methods_same_server_streaming.go b/internal/breaking/check_service_methods_same_server_streaming.go index 29756a0cf..508e637ac 100644 --- a/internal/breaking/check_service_methods_same_server_streaming.go +++ b/internal/breaking/check_service_methods_same_server_streaming.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/check_services_not_deleted.go b/internal/breaking/check_services_not_deleted.go index a01292c52..226bc8611 100644 --- a/internal/breaking/check_services_not_deleted.go +++ b/internal/breaking/check_services_not_deleted.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/helpers.go b/internal/breaking/helpers.go index 8bdd6c802..3ff79112e 100644 --- a/internal/breaking/helpers.go +++ b/internal/breaking/helpers.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/runner.go b/internal/breaking/runner.go index 58e9d75fe..071a3a04d 100644 --- a/internal/breaking/runner.go +++ b/internal/breaking/runner.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/breaking/strings.go b/internal/breaking/strings.go index 42cfe4694..7cdf1f7a8 100644 --- a/internal/breaking/strings.go +++ b/internal/breaking/strings.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/buf/buf.go b/internal/buf/buf.go index bc0f3c244..2fdedd7f7 100644 --- a/internal/buf/buf.go +++ b/internal/buf/buf.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/buf/buf_test.go b/internal/buf/buf_test.go index e5f9a1756..6b61ca233 100644 --- a/internal/buf/buf_test.go +++ b/internal/buf/buf_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cfginit/cfginit.go b/internal/cfginit/cfginit.go index 34958debd..cdba09a3e 100644 --- a/internal/cfginit/cfginit.go +++ b/internal/cfginit/cfginit.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cmd/cmd.go b/internal/cmd/cmd.go index 555943c89..6ebdddb53 100644 --- a/internal/cmd/cmd.go +++ b/internal/cmd/cmd.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cmd/cmd_test.go b/internal/cmd/cmd_test.go index 71bd174a3..5b366aef3 100644 --- a/internal/cmd/cmd_test.go +++ b/internal/cmd/cmd_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cmd/flags.go b/internal/cmd/flags.go index 594f21eb1..5d5bbcec1 100644 --- a/internal/cmd/flags.go +++ b/internal/cmd/flags.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cmd/gen-prototool-bash-completion/main.go b/internal/cmd/gen-prototool-bash-completion/main.go index f6ce3d04a..9b16bb5a6 100644 --- a/internal/cmd/gen-prototool-bash-completion/main.go +++ b/internal/cmd/gen-prototool-bash-completion/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cmd/gen-prototool-manpages/main.go b/internal/cmd/gen-prototool-manpages/main.go index 8db0c7ded..d6896d773 100644 --- a/internal/cmd/gen-prototool-manpages/main.go +++ b/internal/cmd/gen-prototool-manpages/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cmd/gen-prototool-zsh-completion/main.go b/internal/cmd/gen-prototool-zsh-completion/main.go index 6df126eb5..5680a7bad 100644 --- a/internal/cmd/gen-prototool-zsh-completion/main.go +++ b/internal/cmd/gen-prototool-zsh-completion/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cmd/templates.go b/internal/cmd/templates.go index e916c235f..2a58a5a6b 100644 --- a/internal/cmd/templates.go +++ b/internal/cmd/templates.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cmd/testdata/grpc/gen/grpcpb/grpc.pb.go b/internal/cmd/testdata/grpc/gen/grpcpb/grpc.pb.go index 5f8f8aa51..fbdfcb360 100644 --- a/internal/cmd/testdata/grpc/gen/grpcpb/grpc.pb.go +++ b/internal/cmd/testdata/grpc/gen/grpcpb/grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: grpc.proto -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/create/create.go b/internal/create/create.go index b28389a1f..9c213e47f 100644 --- a/internal/create/create.go +++ b/internal/create/create.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/create/handler.go b/internal/create/handler.go index 6d6115bb6..62296e8fe 100644 --- a/internal/create/handler.go +++ b/internal/create/handler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/desc/desc.go b/internal/desc/desc.go index f6a16b807..337daf5af 100644 --- a/internal/desc/desc.go +++ b/internal/desc/desc.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/diff/diff.go b/internal/diff/diff.go index 90a40e864..6e486b584 100644 --- a/internal/diff/diff.go +++ b/internal/diff/diff.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/diff/diff_test.go b/internal/diff/diff_test.go index cc69fc8f4..29c468342 100644 --- a/internal/diff/diff_test.go +++ b/internal/diff/diff_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/exec/exec.go b/internal/exec/exec.go index 99923ae10..d879ab934 100644 --- a/internal/exec/exec.go +++ b/internal/exec/exec.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/exec/runner.go b/internal/exec/runner.go index 9124bfdbc..ec0d8e175 100644 --- a/internal/exec/runner.go +++ b/internal/exec/runner.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/extract/extract.go b/internal/extract/extract.go index 4db422b96..63a35794d 100644 --- a/internal/extract/extract.go +++ b/internal/extract/extract.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/extract/extract_test.go b/internal/extract/extract_test.go index 07dda696f..fa3b48a7c 100644 --- a/internal/extract/extract_test.go +++ b/internal/extract/extract_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/file/file.go b/internal/file/file.go index 5ba949dff..4e2b28ff7 100644 --- a/internal/file/file.go +++ b/internal/file/file.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/file/file_test.go b/internal/file/file_test.go index 097e11e81..924fe37ae 100644 --- a/internal/file/file_test.go +++ b/internal/file/file_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/file/proto_set_provider.go b/internal/file/proto_set_provider.go index bd3359968..22345b98a 100644 --- a/internal/file/proto_set_provider.go +++ b/internal/file/proto_set_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/file/proto_set_provider_test.go b/internal/file/proto_set_provider_test.go index 2ff232c6c..e0a0ffb0a 100644 --- a/internal/file/proto_set_provider_test.go +++ b/internal/file/proto_set_provider_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/format/base_visitor.go b/internal/format/base_visitor.go index b5780fe87..80f662496 100644 --- a/internal/format/base_visitor.go +++ b/internal/format/base_visitor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/format/first_pass_visitor.go b/internal/format/first_pass_visitor.go index 773687ccb..1b81792bf 100644 --- a/internal/format/first_pass_visitor.go +++ b/internal/format/first_pass_visitor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/format/format.go b/internal/format/format.go index 462126a82..789e1ea99 100644 --- a/internal/format/format.go +++ b/internal/format/format.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/format/main_visitor.go b/internal/format/main_visitor.go index dfdec19c6..43078f6c8 100644 --- a/internal/format/main_visitor.go +++ b/internal/format/main_visitor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/format/transformer.go b/internal/format/transformer.go index 33c3b9492..a6825cf82 100644 --- a/internal/format/transformer.go +++ b/internal/format/transformer.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/git/git.go b/internal/git/git.go index fbf3fbdc3..89ee47f3a 100644 --- a/internal/git/git.go +++ b/internal/git/git.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/grpc/grpc.go b/internal/grpc/grpc.go index d3fbdb3b2..eacec95c6 100644 --- a/internal/grpc/grpc.go +++ b/internal/grpc/grpc.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/grpc/handler.go b/internal/grpc/handler.go index 3302c30e5..bc9f82557 100644 --- a/internal/grpc/handler.go +++ b/internal/grpc/handler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/grpc/handler_test.go b/internal/grpc/handler_test.go index d24c09af9..85d668904 100644 --- a/internal/grpc/handler_test.go +++ b/internal/grpc/handler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/grpc/invocation_event_handler.go b/internal/grpc/invocation_event_handler.go index 74622f428..7104ebc7c 100644 --- a/internal/grpc/invocation_event_handler.go +++ b/internal/grpc/invocation_event_handler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/base_linter.go b/internal/lint/base_linter.go index 3cc6408de..3a3cbf447 100644 --- a/internal/lint/base_linter.go +++ b/internal/lint/base_linter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/base_visitor.go b/internal/lint/base_visitor.go index 917f3cfd6..d0ee64f69 100644 --- a/internal/lint/base_visitor.go +++ b/internal/lint/base_visitor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_comments_no_c_style.go b/internal/lint/check_comments_no_c_style.go index 6895af406..6a4c92e2f 100644 --- a/internal/lint/check_comments_no_c_style.go +++ b/internal/lint/check_comments_no_c_style.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_comments_no_inline.go b/internal/lint/check_comments_no_inline.go index 046b73f33..c33e43562 100644 --- a/internal/lint/check_comments_no_inline.go +++ b/internal/lint/check_comments_no_inline.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_field_names_upper_snake_case.go b/internal/lint/check_enum_field_names_upper_snake_case.go index ca60d7e82..c0f5accd0 100644 --- a/internal/lint/check_enum_field_names_upper_snake_case.go +++ b/internal/lint/check_enum_field_names_upper_snake_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_field_names_uppercase.go b/internal/lint/check_enum_field_names_uppercase.go index c8c2832a8..af45a8f54 100644 --- a/internal/lint/check_enum_field_names_uppercase.go +++ b/internal/lint/check_enum_field_names_uppercase.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_field_prefixes.go b/internal/lint/check_enum_field_prefixes.go index c796a1487..d5e11faca 100644 --- a/internal/lint/check_enum_field_prefixes.go +++ b/internal/lint/check_enum_field_prefixes.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_field_prefixes_except_message.go b/internal/lint/check_enum_field_prefixes_except_message.go index 7f4a8a5f1..c810d2cf5 100644 --- a/internal/lint/check_enum_field_prefixes_except_message.go +++ b/internal/lint/check_enum_field_prefixes_except_message.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_fields_have_comments.go b/internal/lint/check_enum_fields_have_comments.go index cc7e65101..407a5eadf 100644 --- a/internal/lint/check_enum_fields_have_comments.go +++ b/internal/lint/check_enum_fields_have_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_fields_have_sentence_comments.go b/internal/lint/check_enum_fields_have_sentence_comments.go index d1d774183..6f4cbcd4c 100644 --- a/internal/lint/check_enum_fields_have_sentence_comments.go +++ b/internal/lint/check_enum_fields_have_sentence_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_names_camel_case.go b/internal/lint/check_enum_names_camel_case.go index 2cf1094ec..20cbef10e 100644 --- a/internal/lint/check_enum_names_camel_case.go +++ b/internal/lint/check_enum_names_camel_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_names_capitalized.go b/internal/lint/check_enum_names_capitalized.go index d46fef24c..3d4e33c12 100644 --- a/internal/lint/check_enum_names_capitalized.go +++ b/internal/lint/check_enum_names_capitalized.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_zero_values_invalid.go b/internal/lint/check_enum_zero_values_invalid.go index 5bf1cca1f..b1ecdcae2 100644 --- a/internal/lint/check_enum_zero_values_invalid.go +++ b/internal/lint/check_enum_zero_values_invalid.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enum_zero_values_invalid_except_message.go b/internal/lint/check_enum_zero_values_invalid_except_message.go index 1c80d0ab4..babd57b04 100644 --- a/internal/lint/check_enum_zero_values_invalid_except_message.go +++ b/internal/lint/check_enum_zero_values_invalid_except_message.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enums_have_comments.go b/internal/lint/check_enums_have_comments.go index 37e266d3a..be50dcb9d 100644 --- a/internal/lint/check_enums_have_comments.go +++ b/internal/lint/check_enums_have_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enums_have_sentence_comments.go b/internal/lint/check_enums_have_sentence_comments.go index ed0354eb8..a669477e6 100644 --- a/internal/lint/check_enums_have_sentence_comments.go +++ b/internal/lint/check_enums_have_sentence_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_enums_no_allow_alias.go b/internal/lint/check_enums_no_allow_alias.go index 12f7b8648..0c8a0cc60 100644 --- a/internal/lint/check_enums_no_allow_alias.go +++ b/internal/lint/check_enums_no_allow_alias.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_fields_not_reserved.go b/internal/lint/check_fields_not_reserved.go index 30ef50755..6a4a83f53 100644 --- a/internal/lint/check_fields_not_reserved.go +++ b/internal/lint/check_fields_not_reserved.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_file_header.go b/internal/lint/check_file_header.go index ff3354c60..c4b2273e2 100644 --- a/internal/lint/check_file_header.go +++ b/internal/lint/check_file_header.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_file_names_lower_snake_case.go b/internal/lint/check_file_names_lower_snake_case.go index 5c3e39352..2c4905772 100644 --- a/internal/lint/check_file_names_lower_snake_case.go +++ b/internal/lint/check_file_names_lower_snake_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_file_options_equal.go b/internal/lint/check_file_options_equal.go index efbd6ba5c..736f30165 100644 --- a/internal/lint/check_file_options_equal.go +++ b/internal/lint/check_file_options_equal.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_file_options_required.go b/internal/lint/check_file_options_required.go index 0f7ebdb72..00634695c 100644 --- a/internal/lint/check_file_options_required.go +++ b/internal/lint/check_file_options_required.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_file_options_same_in_dir.go b/internal/lint/check_file_options_same_in_dir.go index a27950c34..fd8532e55 100644 --- a/internal/lint/check_file_options_same_in_dir.go +++ b/internal/lint/check_file_options_same_in_dir.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_file_options_unset.go b/internal/lint/check_file_options_unset.go index 6303282b8..d4b2d2e99 100644 --- a/internal/lint/check_file_options_unset.go +++ b/internal/lint/check_file_options_unset.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_go_package_not_long_form.go b/internal/lint/check_go_package_not_long_form.go index f34b90d57..a36c3b6ab 100644 --- a/internal/lint/check_go_package_not_long_form.go +++ b/internal/lint/check_go_package_not_long_form.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_gogo_not_imported.go b/internal/lint/check_gogo_not_imported.go index 594514916..926dfbdad 100644 --- a/internal/lint/check_gogo_not_imported.go +++ b/internal/lint/check_gogo_not_imported.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_imports_not_public.go b/internal/lint/check_imports_not_public.go index 17ea261ce..6369d8188 100644 --- a/internal/lint/check_imports_not_public.go +++ b/internal/lint/check_imports_not_public.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_imports_not_weak.go b/internal/lint/check_imports_not_weak.go index aafc14f46..7dc3b2e21 100644 --- a/internal/lint/check_imports_not_weak.go +++ b/internal/lint/check_imports_not_weak.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_field_names_filename.go b/internal/lint/check_message_field_names_filename.go index 8230fdf43..8f25c7b90 100644 --- a/internal/lint/check_message_field_names_filename.go +++ b/internal/lint/check_message_field_names_filename.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_field_names_filepath.go b/internal/lint/check_message_field_names_filepath.go index 198d37720..509e96725 100644 --- a/internal/lint/check_message_field_names_filepath.go +++ b/internal/lint/check_message_field_names_filepath.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_field_names_lower_snake_case.go b/internal/lint/check_message_field_names_lower_snake_case.go index 51364bcfb..856e51d85 100644 --- a/internal/lint/check_message_field_names_lower_snake_case.go +++ b/internal/lint/check_message_field_names_lower_snake_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_field_names_lowercase.go b/internal/lint/check_message_field_names_lowercase.go index 8d68c7dec..0e0319cbf 100644 --- a/internal/lint/check_message_field_names_lowercase.go +++ b/internal/lint/check_message_field_names_lowercase.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_field_names_no_descriptor.go b/internal/lint/check_message_field_names_no_descriptor.go index 59b841c18..d492b32ae 100644 --- a/internal/lint/check_message_field_names_no_descriptor.go +++ b/internal/lint/check_message_field_names_no_descriptor.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_fields_duration.go b/internal/lint/check_message_fields_duration.go index 81785cd8d..0e5f0a1e9 100644 --- a/internal/lint/check_message_fields_duration.go +++ b/internal/lint/check_message_fields_duration.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_fields_have_comments.go b/internal/lint/check_message_fields_have_comments.go index 58141a08b..e62ff00a5 100644 --- a/internal/lint/check_message_fields_have_comments.go +++ b/internal/lint/check_message_fields_have_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_fields_have_sentence_comments.go b/internal/lint/check_message_fields_have_sentence_comments.go index 776a2b809..252792ac8 100644 --- a/internal/lint/check_message_fields_have_sentence_comments.go +++ b/internal/lint/check_message_fields_have_sentence_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_fields_no_json_name.go b/internal/lint/check_message_fields_no_json_name.go index 7421840cf..91d815a87 100644 --- a/internal/lint/check_message_fields_no_json_name.go +++ b/internal/lint/check_message_fields_no_json_name.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_fields_not_floats.go b/internal/lint/check_message_fields_not_floats.go index e07d3576a..7559344d9 100644 --- a/internal/lint/check_message_fields_not_floats.go +++ b/internal/lint/check_message_fields_not_floats.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_fields_time.go b/internal/lint/check_message_fields_time.go index 9fa287945..2232f8513 100644 --- a/internal/lint/check_message_fields_time.go +++ b/internal/lint/check_message_fields_time.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_names_camel_case.go b/internal/lint/check_message_names_camel_case.go index 0f79ed0b7..7d50fb3ae 100644 --- a/internal/lint/check_message_names_camel_case.go +++ b/internal/lint/check_message_names_camel_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_message_names_capitalized.go b/internal/lint/check_message_names_capitalized.go index a5cef99a4..587499aab 100644 --- a/internal/lint/check_message_names_capitalized.go +++ b/internal/lint/check_message_names_capitalized.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_messages_have_comments.go b/internal/lint/check_messages_have_comments.go index 8c7a9b72e..b430dd0bd 100644 --- a/internal/lint/check_messages_have_comments.go +++ b/internal/lint/check_messages_have_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_messages_have_comments_except_request_response_types.go b/internal/lint/check_messages_have_comments_except_request_response_types.go index bb9d01ace..1416d1712 100644 --- a/internal/lint/check_messages_have_comments_except_request_response_types.go +++ b/internal/lint/check_messages_have_comments_except_request_response_types.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_messages_have_sentence_comments_except_request_response_types.go b/internal/lint/check_messages_have_sentence_comments_except_request_response_types.go index 41e6a4660..97fa42f73 100644 --- a/internal/lint/check_messages_have_sentence_comments_except_request_response_types.go +++ b/internal/lint/check_messages_have_sentence_comments_except_request_response_types.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_messages_not_empty_except_request_response_types.go b/internal/lint/check_messages_not_empty_except_request_response_types.go index 78043152c..1b8f9e52d 100644 --- a/internal/lint/check_messages_not_empty_except_request_response_types.go +++ b/internal/lint/check_messages_not_empty_except_request_response_types.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_names.go b/internal/lint/check_names.go index f40265df8..fc6ab0819 100644 --- a/internal/lint/check_names.go +++ b/internal/lint/check_names.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_oneof_names_lower_snake_case.go b/internal/lint/check_oneof_names_lower_snake_case.go index 0632108e2..9bb1d6581 100644 --- a/internal/lint/check_oneof_names_lower_snake_case.go +++ b/internal/lint/check_oneof_names_lower_snake_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_package_is_declared.go b/internal/lint/check_package_is_declared.go index 5dee15561..04c3e62a5 100644 --- a/internal/lint/check_package_is_declared.go +++ b/internal/lint/check_package_is_declared.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_package_lower_case.go b/internal/lint/check_package_lower_case.go index e10c2beb1..c183d1b2e 100644 --- a/internal/lint/check_package_lower_case.go +++ b/internal/lint/check_package_lower_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_package_lower_snake_case.go b/internal/lint/check_package_lower_snake_case.go index b3381e019..d24adc98f 100644 --- a/internal/lint/check_package_lower_snake_case.go +++ b/internal/lint/check_package_lower_snake_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_package_major_beta_versioned.go b/internal/lint/check_package_major_beta_versioned.go index e0adc7806..4baa1a2a8 100644 --- a/internal/lint/check_package_major_beta_versioned.go +++ b/internal/lint/check_package_major_beta_versioned.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_package_no_keywords.go b/internal/lint/check_package_no_keywords.go index fb345d580..b0010d8bc 100644 --- a/internal/lint/check_package_no_keywords.go +++ b/internal/lint/check_package_no_keywords.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_packages_same_in_dir.go b/internal/lint/check_packages_same_in_dir.go index 2757eaefd..b2a7f54ec 100644 --- a/internal/lint/check_packages_same_in_dir.go +++ b/internal/lint/check_packages_same_in_dir.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_request_response_names_match_rpc.go b/internal/lint/check_request_response_names_match_rpc.go index 2228d0da7..1921abf0f 100644 --- a/internal/lint/check_request_response_names_match_rpc.go +++ b/internal/lint/check_request_response_names_match_rpc.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_request_response_types_after_service.go b/internal/lint/check_request_response_types_after_service.go index 63d140169..48205882e 100644 --- a/internal/lint/check_request_response_types_after_service.go +++ b/internal/lint/check_request_response_types_after_service.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_request_response_types_in_same_file.go b/internal/lint/check_request_response_types_in_same_file.go index f87289494..418b34ea5 100644 --- a/internal/lint/check_request_response_types_in_same_file.go +++ b/internal/lint/check_request_response_types_in_same_file.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_request_response_types_only_in_file.go b/internal/lint/check_request_response_types_only_in_file.go index 7c2433f97..bd45c264c 100644 --- a/internal/lint/check_request_response_types_only_in_file.go +++ b/internal/lint/check_request_response_types_only_in_file.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_request_response_types_unique.go b/internal/lint/check_request_response_types_unique.go index cfc928940..eb6f72346 100644 --- a/internal/lint/check_request_response_types_unique.go +++ b/internal/lint/check_request_response_types_unique.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_rpc_names_camel_case.go b/internal/lint/check_rpc_names_camel_case.go index 2ee2e8ba7..3c1e2eefb 100644 --- a/internal/lint/check_rpc_names_camel_case.go +++ b/internal/lint/check_rpc_names_camel_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_rpc_names_capitalized.go b/internal/lint/check_rpc_names_capitalized.go index f0390b854..f3496feb6 100644 --- a/internal/lint/check_rpc_names_capitalized.go +++ b/internal/lint/check_rpc_names_capitalized.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_rpc_options_no_google_api_http.go b/internal/lint/check_rpc_options_no_google_api_http.go index c5d7b81db..8882e2e8d 100644 --- a/internal/lint/check_rpc_options_no_google_api_http.go +++ b/internal/lint/check_rpc_options_no_google_api_http.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_rpcs_have_comments.go b/internal/lint/check_rpcs_have_comments.go index ce01d2356..b4a6b1812 100644 --- a/internal/lint/check_rpcs_have_comments.go +++ b/internal/lint/check_rpcs_have_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_rpcs_have_sentence_comments.go b/internal/lint/check_rpcs_have_sentence_comments.go index e6f1424a5..b15cd7f75 100644 --- a/internal/lint/check_rpcs_have_sentence_comments.go +++ b/internal/lint/check_rpcs_have_sentence_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_rpcs_no_streaming.go b/internal/lint/check_rpcs_no_streaming.go index 789f6a7c6..a60c9e518 100644 --- a/internal/lint/check_rpcs_no_streaming.go +++ b/internal/lint/check_rpcs_no_streaming.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_service_names_api_suffix.go b/internal/lint/check_service_names_api_suffix.go index 05369565d..2c7e8ac03 100644 --- a/internal/lint/check_service_names_api_suffix.go +++ b/internal/lint/check_service_names_api_suffix.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_service_names_camel_case.go b/internal/lint/check_service_names_camel_case.go index ee410a1a3..43292024b 100644 --- a/internal/lint/check_service_names_camel_case.go +++ b/internal/lint/check_service_names_camel_case.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_service_names_capitalized.go b/internal/lint/check_service_names_capitalized.go index 996b1053c..5b7e35525 100644 --- a/internal/lint/check_service_names_capitalized.go +++ b/internal/lint/check_service_names_capitalized.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_service_names_match_file_name.go b/internal/lint/check_service_names_match_file_name.go index a3871646d..8b97466b2 100644 --- a/internal/lint/check_service_names_match_file_name.go +++ b/internal/lint/check_service_names_match_file_name.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_service_names_singular.go b/internal/lint/check_service_names_singular.go index d1dd97c17..b1e512d48 100644 --- a/internal/lint/check_service_names_singular.go +++ b/internal/lint/check_service_names_singular.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_services_have_comments.go b/internal/lint/check_services_have_comments.go index 6965d1242..952e9025f 100644 --- a/internal/lint/check_services_have_comments.go +++ b/internal/lint/check_services_have_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_services_have_sentence_comments.go b/internal/lint/check_services_have_sentence_comments.go index 83d989ef0..d9fe1736b 100644 --- a/internal/lint/check_services_have_sentence_comments.go +++ b/internal/lint/check_services_have_sentence_comments.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_syntax_proto3.go b/internal/lint/check_syntax_proto3.go index 12719c184..6e18a6078 100644 --- a/internal/lint/check_syntax_proto3.go +++ b/internal/lint/check_syntax_proto3.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_wkt_directly_imported.go b/internal/lint/check_wkt_directly_imported.go index 7cc33c077..82b6842ad 100644 --- a/internal/lint/check_wkt_directly_imported.go +++ b/internal/lint/check_wkt_directly_imported.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_wkt_duration_suffix.go b/internal/lint/check_wkt_duration_suffix.go index be350fd09..fe60dc794 100644 --- a/internal/lint/check_wkt_duration_suffix.go +++ b/internal/lint/check_wkt_duration_suffix.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/check_wkt_timestamp_suffix.go b/internal/lint/check_wkt_timestamp_suffix.go index 4fbfb292c..aef780407 100644 --- a/internal/lint/check_wkt_timestamp_suffix.go +++ b/internal/lint/check_wkt_timestamp_suffix.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/lint.go b/internal/lint/lint.go index 7d9634bd7..4645c4d08 100644 --- a/internal/lint/lint.go +++ b/internal/lint/lint.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lint/runner.go b/internal/lint/runner.go index 995253f52..9a7c72db6 100644 --- a/internal/lint/runner.go +++ b/internal/lint/runner.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/protoc/compiler.go b/internal/protoc/compiler.go index 9a379bf67..15d519fc4 100644 --- a/internal/protoc/compiler.go +++ b/internal/protoc/compiler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/protoc/downloader.go b/internal/protoc/downloader.go index a2546c944..822fbcc9e 100644 --- a/internal/protoc/downloader.go +++ b/internal/protoc/downloader.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/protoc/downloader_test.go b/internal/protoc/downloader_test.go index c84cbcead..ffaabe998 100644 --- a/internal/protoc/downloader_test.go +++ b/internal/protoc/downloader_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/protoc/protoc.go b/internal/protoc/protoc.go index a06632573..dad1c7cae 100644 --- a/internal/protoc/protoc.go +++ b/internal/protoc/protoc.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/protostrs/protostrs.go b/internal/protostrs/protostrs.go index de49b2c8b..32f6af3f5 100644 --- a/internal/protostrs/protostrs.go +++ b/internal/protostrs/protostrs.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/protostrs/protostrs_test.go b/internal/protostrs/protostrs_test.go index 3b4272364..c3282daf8 100644 --- a/internal/protostrs/protostrs_test.go +++ b/internal/protostrs/protostrs_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/reflect/gen/uber/proto/reflect/v1/reflect.pb.go b/internal/reflect/gen/uber/proto/reflect/v1/reflect.pb.go index 58202b8c0..40a67e5e0 100644 --- a/internal/reflect/gen/uber/proto/reflect/v1/reflect.pb.go +++ b/internal/reflect/gen/uber/proto/reflect/v1/reflect.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // source: uber/proto/reflect/v1/reflect.proto -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/reflect/reflect.go b/internal/reflect/reflect.go index a923bffdd..ef2e5bdc8 100644 --- a/internal/reflect/reflect.go +++ b/internal/reflect/reflect.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/reflect/reflect_test.go b/internal/reflect/reflect_test.go index 49c258b6d..86124475c 100644 --- a/internal/reflect/reflect_test.go +++ b/internal/reflect/reflect_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/settings/config_provider.go b/internal/settings/config_provider.go index 616e7a853..87899c88e 100644 --- a/internal/settings/config_provider.go +++ b/internal/settings/config_provider.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -84,7 +84,10 @@ func (c *configProvider) GetForData(dirPath string, externalConfigData string) ( dirPath = filepath.Clean(dirPath) var externalConfig ExternalConfig if err := jsonUnmarshalStrict([]byte(externalConfigData), &externalConfig); err != nil { - return Config{}, err + c.logger.Debug("config data is not in proper JSON format", zap.String("dirPath", dirPath)) + if err = yaml.UnmarshalStrict([]byte(externalConfigData), &externalConfig); err != nil { + return Config{}, err + } } return externalConfigToConfig(c.develMode, externalConfig, dirPath) } @@ -104,7 +107,10 @@ func (c *configProvider) GetExcludePrefixesForData(dirPath string, externalConfi dirPath = filepath.Clean(dirPath) var externalConfig ExternalConfig if err := jsonUnmarshalStrict([]byte(externalConfigData), &externalConfig); err != nil { - return nil, err + c.logger.Debug("config data is not in proper JSON format", zap.String("dirPath", dirPath)) + if err = yaml.UnmarshalStrict([]byte(externalConfigData), &externalConfig); err != nil { + return nil, err + } } return getExcludePrefixes(externalConfig.Excludes, dirPath) } diff --git a/internal/settings/settings.go b/internal/settings/settings.go index 42b3b2637..4f1f8da67 100644 --- a/internal/settings/settings.go +++ b/internal/settings/settings.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/strs/strs.go b/internal/strs/strs.go index f2ed820e6..0a02600f0 100644 --- a/internal/strs/strs.go +++ b/internal/strs/strs.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/strs/strs_test.go b/internal/strs/strs_test.go index d62844e94..2a88e17a3 100644 --- a/internal/strs/strs_test.go +++ b/internal/strs/strs_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/testing/testing.go b/internal/testing/testing.go index e922bbf1d..693ade50c 100644 --- a/internal/testing/testing.go +++ b/internal/testing/testing.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/text/text.go b/internal/text/text.go index ae438751e..e60ed3f82 100644 --- a/internal/text/text.go +++ b/internal/text/text.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/text/text_test.go b/internal/text/text_test.go index 6c0d3549f..c25b56731 100644 --- a/internal/text/text_test.go +++ b/internal/text/text_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/vars/vars.go b/internal/vars/vars.go index 10c7b8d31..1b09cc6d6 100644 --- a/internal/vars/vars.go +++ b/internal/vars/vars.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/internal/wkt/wkt.go b/internal/wkt/wkt.go index 24c9317ed..1b8f9d690 100644 --- a/internal/wkt/wkt.go +++ b/internal/wkt/wkt.go @@ -1,4 +1,4 @@ -// Copyright (c) 2020 Uber Technologies, Inc. +// Copyright (c) 2021 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal