我正在尝试解析Unix 时间戳,但是我超出了范围错误.这对我来说没有意义,因为布局是正确的(如Go文档中所示):
package main
import "fmt"
import "time"
func main() {
tm, err := time.Parse("1136239445", "1405544146")
if err != nil{
panic(err)
}
fmt.Println(tm)
}
Run Code Online (Sandbox Code Playgroud)