pkg: flag, strings
This commit is contained in:
@@ -271,8 +271,10 @@ Here are the Go packages that can be imported correctly:
|
|||||||
* [io](https://pkg.go.dev/io)
|
* [io](https://pkg.go.dev/io)
|
||||||
* [io/fs](https://pkg.go.dev/io/fs)
|
* [io/fs](https://pkg.go.dev/io/fs)
|
||||||
* [log](https://pkg.go.dev/log)
|
* [log](https://pkg.go.dev/log)
|
||||||
|
* [flag](https://pkg.go.dev/flag)
|
||||||
* [sort](https://pkg.go.dev/sort)
|
* [sort](https://pkg.go.dev/sort)
|
||||||
* [strconv](https://pkg.go.dev/strconv)
|
* [strconv](https://pkg.go.dev/strconv)
|
||||||
|
* [strings](https://pkg.go.dev/strings)
|
||||||
* [sync/atomic](https://pkg.go.dev/sync/atomic)
|
* [sync/atomic](https://pkg.go.dev/sync/atomic)
|
||||||
* [sync](https://pkg.go.dev/sync) (partially)
|
* [sync](https://pkg.go.dev/sync) (partially)
|
||||||
* [syscall](https://pkg.go.dev/syscall) (partially)
|
* [syscall](https://pkg.go.dev/syscall) (partially)
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import "strconv"
|
import (
|
||||||
|
"fmt"
|
||||||
|
"strconv"
|
||||||
|
"strings"
|
||||||
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
println(strconv.Itoa(-123))
|
fmt.Println(strconv.Itoa(-123))
|
||||||
|
fmt.Println(strings.Split("abc,def,123", ","))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user