From ca2aa423bc0bcb9884b571da632e85b8f88e7e8a Mon Sep 17 00:00:00 2001
From: LaurenceLiZhixin <382673304@qq.com>
Date: Tue, 2 Mar 2021 14:06:46 +0800
Subject: [PATCH] fix: add liscense

---
 .../examples/helloworld.pb.go                 | 17 +++++++++++
 .../examples/helloworld.proto                 | 30 +++++++++----------
 .../protoc-gen-dubbo3/plugin/dubbo3/doc.go    | 19 ------------
 3 files changed, 32 insertions(+), 34 deletions(-)
 delete mode 100644 protocol/dubbo3/protoc-gen-dubbo3/plugin/dubbo3/doc.go

diff --git a/protocol/dubbo3/protoc-gen-dubbo3/examples/helloworld.pb.go b/protocol/dubbo3/protoc-gen-dubbo3/examples/helloworld.pb.go
index dcc38ccfb..08f573636 100644
--- a/protocol/dubbo3/protoc-gen-dubbo3/examples/helloworld.pb.go
+++ b/protocol/dubbo3/protoc-gen-dubbo3/examples/helloworld.pb.go
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // source: helloworld.proto
 
diff --git a/protocol/dubbo3/protoc-gen-dubbo3/examples/helloworld.proto b/protocol/dubbo3/protoc-gen-dubbo3/examples/helloworld.proto
index e73f72b1e..81817e87c 100644
--- a/protocol/dubbo3/protoc-gen-dubbo3/examples/helloworld.proto
+++ b/protocol/dubbo3/protoc-gen-dubbo3/examples/helloworld.proto
@@ -1,19 +1,19 @@
 /*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-    http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 syntax = "proto3";
 
 option java_multiple_files = true;
diff --git a/protocol/dubbo3/protoc-gen-dubbo3/plugin/dubbo3/doc.go b/protocol/dubbo3/protoc-gen-dubbo3/plugin/dubbo3/doc.go
deleted file mode 100644
index 76fbf6472..000000000
--- a/protocol/dubbo3/protoc-gen-dubbo3/plugin/dubbo3/doc.go
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-// Package dubbo plugin for protobuf.
-package dubbo
-- 
GitLab