Files
stock/cmd/test/main.go

17 lines
306 B
Go
Raw Normal View History

2026-02-09 17:36:20 +08:00
package main
import (
"encoding/json"
"fmt"
"git.apinb.com/dataset/stock/internal/logic/a"
)
func main() {
a.NewApiClient()
reply, err := a.SetFinaIndicator("000029.SZ", "20230331")
fmt.Println("Err", err)
jsonBytes, _ := json.Marshal(reply.Data.Items)
fmt.Println("Reply", string(jsonBytes))
}