github.com/MetalBlockchain/metalgo@v1.11.9/utils/formatting/prefixed_stringer.go (about) 1 // Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved. 2 // See the file LICENSE for licensing terms. 3 4 package formatting 5 6 import "fmt" 7 8 // PrefixedStringer extends a stringer that adds a prefix 9 type PrefixedStringer interface { 10 fmt.Stringer 11 12 PrefixedString(prefix string) string 13 }