traverse

package
v0.0.0-...-62a904e Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadRecent

func ReadRecent(filePath string) error

ReadRecent

func Tra

func Tra(dir Dir, name string) func()

Tra this is an example of a traversal

Types

type Dir

type Dir struct {
	Name  string
	Route string
	Files []string
	Dirs  []*Dir
}

Dir is an embedded struct of folders in a repo

func NewDir

func NewDir(name, route string) Dir

NewDir ...

type Repo

type Repo struct {
	Name    string
	Commits int64
	Dir
}

Repo is a representation of a github repo directory

func (*Repo) SaveToJSON

func (repo *Repo) SaveToJSON(filePath string)

SaveToJSON saves the Repo object to a json file

Jump to

Keyboard shortcuts

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