dione/rpc/filecoin/types/params.go

15 lines
212 B
Go

package types
type FilParams struct {
Cid interface{} `json:"/"`
}
func NewCidParam(cid interface{}) []interface{} {
i := make([]interface{}, 0)
p := &FilParams{
Cid: cid,
}
i = append(i, p)
return i
}