You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/06/08 12:28:48 UTC

[dubbo-go-contrib] 04/06: fix go mod a

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-contrib.git

commit d57ef6a4d60e86ed093d8ad423721365c84a9678
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Thu Jun 8 17:53:21 2023 +0800

    fix go mod a
---
 README.md         |  2 +-
 go.mod            |  2 +-
 go.mod => main.go | 10 ++++++++--
 3 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 659064b..a5d1352 100644
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-# dubbo-go-contrib
+# This is a place for various extensions in the dubbogo ecosystem that aren't part of the dubbogo core.
\ No newline at end of file
diff --git a/go.mod b/go.mod
index ab147f7..1ab352e 100644
--- a/go.mod
+++ b/go.mod
@@ -15,4 +15,4 @@
 // limitations under the License.
 module github.com/apache/dubbo-go-contrib
 
-go 1.20
+go 1.15
diff --git a/go.mod b/main.go
similarity index 91%
copy from go.mod
copy to main.go
index ab147f7..174a058 100644
--- a/go.mod
+++ b/main.go
@@ -13,6 +13,12 @@
 // 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.
-module github.com/apache/dubbo-go-contrib
+//
+
+package main
+
+import "fmt"
 
-go 1.20
+func main() {
+	fmt.Println("hello world")
+}