mirror of https://github.com/poanetwork/gecko.git
16 lines
286 B
Go
16 lines
286 B
Go
|
// (c) 2019-2020, Ava Labs, Inc. All rights reserved.
|
||
|
// See the file LICENSE for licensing terms.
|
||
|
|
||
|
package formatting
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
)
|
||
|
|
||
|
// PrefixedStringer extends a stringer that adds a prefix
|
||
|
type PrefixedStringer interface {
|
||
|
fmt.Stringer
|
||
|
|
||
|
PrefixedString(prefix string) string
|
||
|
}
|