Files
stat_center/common/httpUtils/http_test.go
T
2026-05-20 16:13:58 +08:00

19 lines
235 B
Go

package httpUtils
import (
"fmt"
)
func ExampleGet() {
urlstr := "https://palce.hzbeisheng.com/api/sms"
data, err := Get(urlstr, nil)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(data.Data))
// Output:
}