Documentation ¶
Index ¶
- Constants
- Variables
- func AddCDCExtension(name string) string
- func AddToGitIgnore(filename string, loader flowkit.ReaderWriter) error
- func CreateTabWriter(b *bytes.Buffer) *tabwriter.Writer
- func Exit(code int, msg string)
- func GetAddressNetwork(address flowsdk.Address) (flowsdk.ChainID, error)
- func MessageWithEmojiPrefix(emoji string, message string) string
- func NormalizeLineEndings(s string) string
- func PrintEmoji(emoji string) string
- func StripCDCExtension(name string) string
- func TestMocks(t *testing.T) (*mocks.MockServices, *flowkit.State, flowkit.ReaderWriter)
- func ValidateECDSAP256Pub(key string) error
Constants ¶
View Source
const EnvPrefix = "FLOW"
Variables ¶
View Source
var NoLogger = output.NewStdoutLogger(output.NoneLog)
View Source
var TestID = flow.HexToID("24993fc99f81641c45c0afa307e683b4f08d407d90041aa9439f487acb33d633")
Functions ¶
func AddCDCExtension ¶ added in v1.20.0
func AddToGitIgnore ¶
func AddToGitIgnore(filename string, loader flowkit.ReaderWriter) error
AddToGitIgnore adds a new line to the .gitignore if one doesn't exist it creates it.
func GetAddressNetwork ¶
GetAddressNetwork returns the chain ID for an address.
func MessageWithEmojiPrefix ¶ added in v1.18.0
func NormalizeLineEndings ¶ added in v1.19.0
func PrintEmoji ¶ added in v1.18.0
func StripCDCExtension ¶ added in v1.20.0
func TestMocks ¶
func TestMocks(t *testing.T) (*mocks.MockServices, *flowkit.State, flowkit.ReaderWriter)
TestMocks creates mock flowkit services, an empty state and a mock reader writer
func ValidateECDSAP256Pub ¶
ValidateECDSAP256Pub attempt to decode the hex string representation of a ECDSA P256 public key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.