1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-17 19:22:28 +08:00

doc: update go playground demo

This commit is contained in:
dudaodong
2023-04-27 12:03:15 +08:00
parent 4888909208
commit f93c561f5d
15 changed files with 78 additions and 24 deletions

View File

@@ -968,6 +968,7 @@ func main() {
fmt.Println(result1)
fmt.Println(result2)
// Output:
// hello world
// 你好😄
@@ -1027,6 +1028,7 @@ func main() {
result := strutil.BytesToString(bytes)
fmt.Println(result)
// Output:
// abc
}
@@ -1058,6 +1060,7 @@ func main() {
fmt.Println(result1)
fmt.Println(result2)
fmt.Println(result3)
// Output:
// true
// true
@@ -1089,6 +1092,7 @@ func main() {
fmt.Println(result1)
fmt.Println(result2)
// Output:
// true
// false
@@ -1119,6 +1123,7 @@ func main() {
fmt.Println(result1)
fmt.Println(result2)
// Output:
// true
// false
@@ -1157,6 +1162,7 @@ func main() {
fmt.Println(result3)
fmt.Println(result4)
fmt.Println(result5)
// Output:
// 12
// 1