mirror of https://github.com/poanetwork/gecko.git
10 lines
262 B
Go
10 lines
262 B
Go
|
// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
|
||
|
// See the file LICENSE for licensing terms.
|
||
|
|
||
|
package formatting
|
||
|
|
||
|
// CustomStringer ...
|
||
|
type CustomStringer struct{ Stringer func() string }
|
||
|
|
||
|
func (cs CustomStringer) String() string { return cs.Stringer() }
|