打印机
This commit is contained in:
15
services/print_server/list_test.go
Normal file
15
services/print_server/list_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user