gitee.com/quant1x/engine@v1.8.4/datasource/dfcf/finance_analysis_test.go (about)

     1  package dfcf
     2  
     3  import (
     4  	"encoding/json"
     5  	"fmt"
     6  	"gitee.com/quant1x/gox/api"
     7  	"testing"
     8  )
     9  
    10  func TestGetQuarterlyReports(t *testing.T) {
    11  	v, n, err := GetQuarterlyReports()
    12  	fmt.Println(v)
    13  	data, _ := json.Marshal(v)
    14  	text := api.Bytes2String(data)
    15  	fmt.Println(text)
    16  	fmt.Println(n)
    17  	fmt.Println(err)
    18  }