oswrapper

package
v1.18.0-coveo.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OS

type OS interface {
	// Getpid returns the process id of the caller
	Getpid() int
}

OS wraps methods from the stdlib's 'os' package. This is mostly to help with testing where responses from these methods can be mocked

func New

func New() OS

New creates a new stdlib OS object

Directories

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

Jump to

Keyboard shortcuts

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