mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-21 05:06:10 +08:00
13 lines
163 B
Go
13 lines
163 B
Go
![]() |
package test
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"strings"
|
||
|
"testing"
|
||
|
)
|
||
|
|
||
|
func TestSplit(t *testing.T) {
|
||
|
drive_id:="/123/456"
|
||
|
strs:=strings.Split(drive_id,"/")
|
||
|
fmt.Println(strs)
|
||
|
}
|