From 8a90e7b3c12a8992105ca39d622d81dee3602516 Mon Sep 17 00:00:00 2001 From: likfees Date: Tue, 2 Jan 2024 22:47:07 +0800 Subject: [PATCH] complete --- main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 3b7b987..6ad18b5 100644 --- a/main.go +++ b/main.go @@ -3,12 +3,15 @@ package main import ( "fmt" jsoniter "github.com/json-iterator/go" + "os" ) func main() { m := map[string]string{ - "hello": "world12111", + "hello": "world", } + baseURL := os.Getenv("BASE_URL") + fmt.Println("BASE_URL:", baseURL) marshal, _ := jsoniter.Marshal(m) fmt.Println(string(marshal)) }