17 lines
318 B
Go
17 lines
318 B
Go
package main
|
|
|
|
import (
|
|
"encoding/json"
|
|
"fmt"
|
|
|
|
"git.apinb.com/dataset/stock/internal/logic/a"
|
|
)
|
|
|
|
func main() {
|
|
a.NewApiClient()
|
|
reply, err := a.SetFinaIndicator("000012.SZ", "20230101", "20260124")
|
|
fmt.Println("Err", err)
|
|
jsonBytes, _ := json.Marshal(reply.Data.Items)
|
|
fmt.Println("Reply", string(jsonBytes))
|
|
}
|