16 lines
309 B
Go
16 lines
309 B
Go
package print_server
|
|
|
|
import (
|
|
"fmt"
|
|
"sort"
|
|
"testing"
|
|
)
|
|
|
|
func Test_list(b *testing.T) {
|
|
//aa := []string{"app_key", "format", "jd_param_json", "timestamp", "token", "v"}
|
|
aa := []string{"format", "jd_param_json", "app_key", "timestamp", "token", "v"}
|
|
fmt.Println(aa)
|
|
sort.Strings(aa)
|
|
fmt.Println(aa)
|
|
}
|