Help us shape the future of Go! Take the 2026 Go Developer Survey

system

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Do(req *http.Request) (*http.Response, error)
}

type FileSystem

type FileSystem struct{}

func (*FileSystem) MkdirAll added in v1.7.0

func (fs *FileSystem) MkdirAll(path string, perm os.FileMode) error

func (*FileSystem) Open

func (fs *FileSystem) Open(name string) (fs.File, error)

func (*FileSystem) WriteFile added in v1.7.0

func (fs *FileSystem) WriteFile(name string, data []byte, perm os.FileMode) error

type VirtualFS

type VirtualFS interface {
	fs.FS
}

type WritableVirtualFS added in v1.7.0

type WritableVirtualFS interface {
	VirtualFS
	WriteFile(name string, data []byte, perm os.FileMode) error
	MkdirAll(path string, perm os.FileMode) error
}

WritableVirtualFS extends VirtualFS with write operations needed for localization

Jump to

Keyboard shortcuts

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