Skip to content

Commit

Permalink
complete
Browse files Browse the repository at this point in the history
  • Loading branch information
likfees committed Jan 2, 2024
1 parent 3fcb5cf commit 8a90e7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 8a90e7b

Please sign in to comment.