types

package
v0.0.0-...-d84bc8d Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Categories

type Categories struct {
	// contains filtered or unexported fields
}

func NewCategories

func NewCategories() *Categories

func (*Categories) GetAll

func (c *Categories) GetAll() []*Category

func (*Categories) Load

func (c *Categories) Load() error

func (*Categories) LoadFrom

func (c *Categories) LoadFrom(filename string) error

func (*Categories) Save

func (c *Categories) Save() error

func (*Categories) SaveAs

func (c *Categories) SaveAs(filename string) error

type Category

type Category struct {
	Name   string `json:"name"`
	Folder string `json:"folder"`
}

Jump to

Keyboard shortcuts

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