project

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const JSON_FILENAME = "backup_tool.json"
View Source
const VERSION = "1.0.1"

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	Destination string
	Version     string
	Robots      []robot.Robot
}

func Init

func Init() (*Project, error)

func (*Project) AddRobot

func (p *Project) AddRobot() error

func (*Project) Backup

func (p *Project) Backup(namelist RobotNamelist, filter func(string) bool, name string) error

func (*Project) RemoveRobot

func (p *Project) RemoveRobot() error

func (*Project) Save

func (p *Project) Save() error

type RobotNamelist

type RobotNamelist []string

func (*RobotNamelist) Set

func (r *RobotNamelist) Set(value string) error

func (*RobotNamelist) String

func (r *RobotNamelist) String() string

Jump to

Keyboard shortcuts

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