github.com/hungdoo/bot@v0.0.0-20240325145135-dd1f386f7b81/src/packages/graphql/query.go (about)

     1  package graphql
     2  
     3  import "github.com/shopspring/decimal"
     4  
     5  type Markets struct {
     6  	Id                 string
     7  	Name               string
     8  	CollateralFactor   decimal.NullDecimal
     9  	UnderlyingSymbol   string
    10  	UnderlyingDecimals decimal.NullDecimal
    11  }
    12  
    13  var MarketQuery struct {
    14  	Markets []Markets `graphql:"markets"`
    15  }