Documentation
¶
Overview ¶
Package utils contains some internal tools we use in macaw.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // LogFatal to log and exit. Replace for variable so we can change in the test LogFatal = log.Fatal // LogFatalf to log with format and exit. Replace for variable so we can change in the test LogFatalf = log.Fatalf )
Functions ¶
Types ¶
type MockSystem ¶
type MockSystem struct {
MockFunc func()
}
MockSystem is a system used for test
func (*MockSystem) Update ¶
func (m *MockSystem) Update()
Update executes a function if it was declared
Click to show internal directories.
Click to hide internal directories.