patch internal/reflectlite; demo: sort.Ints

This commit is contained in:
xushiwei
2024-06-21 11:02:28 +08:00
parent f26311c60e
commit b93fc3f028
7 changed files with 70 additions and 14 deletions

11
_demo/sortdemo/sort.go Normal file
View File

@@ -0,0 +1,11 @@
package main
import "sort"
func main() {
vals := []int{32, 58, 25, 92, 45, 78}
sort.Ints(vals)
for _, v := range vals {
println(v)
}
}