常用类型及数据操作方法
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

13 lines
179 B

package helper
import (
"testing"
)
func Test_GetPage(t *testing.T) {
// var page, page_size string = "0", "10"
from, offset := GetPage(2, 10)
t.Log(from)
t.Log(offset)
}