Documentation ¶
Overview ¶
package std is used to create wrappers for standard Go functions to support mocking in tests where necessary
package std is used to create wrappers for standard Go functions to support mocking in tests where necessary
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
File interface is used to mock os.File structure
type Os ¶
type Os interface { Open(name string) (File, error) Stat(name string) (os.FileInfo, error) IsExist(err error) bool }
Os interface is used to mock os package
Click to show internal directories.
Click to hide internal directories.