This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
The following commit(s) were added to refs/heads/master by this push:
new 781cb188 fix CI error: go mod tidy and license header (#482)
781cb188 is described below
commit 781cb188be1bed60b3c24fbb55f28f5a37bf01ac
Author: Jingchao <[email protected]>
AuthorDate: Sun Jan 1 10:57:12 2023 +0800
fix CI error: go mod tidy and license header (#482)
* chore: fix with go mod tidy
* feat: add missing license header
---
go.mod | 2 +-
rpc/triple/pb2/api/helloworld.pb.go | 17 +++++++++++++++++
rpc/triple/pb2/api/helloworld_triple.pb.go | 17 +++++++++++++++++
rpc/triple/pb2/go-server/cmd/server.go | 17 +++++++++++++++++
rpc/triple/pb2/models/generated.pb.go | 17 +++++++++++++++++
rpc/triple/pb2/models/models.go | 17 +++++++++++++++++
6 files changed, 86 insertions(+), 1 deletion(-)
diff --git a/go.mod b/go.mod
index 28cef146..51f67139 100644
--- a/go.mod
+++ b/go.mod
@@ -8,7 +8,7 @@ require (
github.com/dubbogo/gost v1.13.2
github.com/dubbogo/grpc-go v1.42.10
github.com/dubbogo/triple v1.2.2-rc2
- github.com/gogo/protobuf v1.3.2 // indirect
+ github.com/gogo/protobuf v1.3.2
github.com/golang/protobuf v1.5.2
github.com/opentracing/opentracing-go v1.2.0
github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5
diff --git a/rpc/triple/pb2/api/helloworld.pb.go
b/rpc/triple/pb2/api/helloworld.pb.go
index 33203e49..c27d7cad 100644
--- a/rpc/triple/pb2/api/helloworld.pb.go
+++ b/rpc/triple/pb2/api/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.
+ */
+
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
diff --git a/rpc/triple/pb2/api/helloworld_triple.pb.go
b/rpc/triple/pb2/api/helloworld_triple.pb.go
index ff1171a5..a3724391 100644
--- a/rpc/triple/pb2/api/helloworld_triple.pb.go
+++ b/rpc/triple/pb2/api/helloworld_triple.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-triple. DO NOT EDIT.
// versions:
// - protoc-gen-go-triple v1.0.8
diff --git a/rpc/triple/pb2/go-server/cmd/server.go
b/rpc/triple/pb2/go-server/cmd/server.go
index 14857066..246e2a18 100644
--- a/rpc/triple/pb2/go-server/cmd/server.go
+++ b/rpc/triple/pb2/go-server/cmd/server.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.
+ */
+
package main
import (
diff --git a/rpc/triple/pb2/models/generated.pb.go
b/rpc/triple/pb2/models/generated.pb.go
index 0e05a6da..c3ba9758 100644
--- a/rpc/triple/pb2/models/generated.pb.go
+++ b/rpc/triple/pb2/models/generated.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-gogo. DO NOT EDIT.
// source:
github.com/apache/dubbo-go-samples/rpc/triple/pb2/models/generated.proto
diff --git a/rpc/triple/pb2/models/models.go b/rpc/triple/pb2/models/models.go
index 54802f79..8e4c99dc 100644
--- a/rpc/triple/pb2/models/models.go
+++ b/rpc/triple/pb2/models/models.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.
+ */
+
package models
type User struct {