github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/x/staking/typesadapter/delegation.go (about) 1 package typesadapter 2 3 import "strings" 4 5 // DelegationResponses is a collection of DelegationResp 6 type DelegationResponses []DelegationResponse 7 8 // String implements the Stringer interface for DelegationResponses. 9 func (d DelegationResponses) String() (out string) { 10 for _, del := range d { 11 out += del.String() + "\n" 12 } 13 14 return strings.TrimSpace(out) 15 }