pkg: flag, strings

This commit is contained in:
xushiwei
2024-07-16 22:36:38 +08:00
parent 9b82d08087
commit 172b396dc9
2 changed files with 9 additions and 2 deletions

View File

@@ -1,7 +1,12 @@
package main
import "strconv"
import (
"fmt"
"strconv"
"strings"
)
func main() {
println(strconv.Itoa(-123))
fmt.Println(strconv.Itoa(-123))
fmt.Println(strings.Split("abc,def,123", ","))
}