utils

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Directory

type Directory struct {
	Path string
}

func (Directory) DoesExist

func (d Directory) DoesExist() bool

func (Directory) Mkdir

func (d Directory) Mkdir() error

type File

type File struct {
	Name   string
	Source string
	Data   string
	Dest   string
}

TODO: turn into an interface

func (File) Read

func (f File) Read() (string, error)

func (File) Write

func (f File) Write() error

Jump to

Keyboard shortcuts

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