os

package
v0.0.0-...-fe50809 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OsHelper

type OsHelper interface {
	FileExist(path string) bool
	DirExist(path string) bool
	CreateDir(path string) error
	GetFileAsByteArray(path string) ([]byte, error)
	GetFileAsString(path string) (string, error)
	CreateTemporaryTextFile(content string) (string, error)
	GetEnvironmentVariable(key string) string
}

func NewOsHelper

func NewOsHelper() (OsHelper, error)

Directories

Path Synopsis
Package mock_os is a generated GoMock package.
Package mock_os is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL