package util import ( "servicebase/pkg/common" "fmt" "testing" ) func Test_processTimeStr(t *testing.T) { tmp, e := ProcessTimeStr("2025-05-29 09:08:38 +0800 CST") fmt.Printf("%v %v\n", tmp, e) } func TestParseUrlParameter(t *testing.T) { // assets/img/op_1754967614.png?c=#000000&s=160 ParseUrlParameter(common.FullPhotoUrl("assets/img/op_1754967614.png?c=%23000000&s=160")) }