utils

package
v0.0.0-...-42b6fc9 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KeyBackward is the default key to page up during selection.
	KeyBackward        rune = readline.CharCtrlW
	KeyBackwardDisplay      = "ctrl + w"

	// KeyForward is the default key to page down during selection.
	KeyForward        rune = readline.CharCtrlL
	KeyForwardDisplay      = "ctrl + l"
)
View Source
const FilePath = "store.json"

Variables

This section is empty.

Functions

func ProjectText

func ProjectText()

func WriteJSONFileData

func WriteJSONFileData(data RepoDetails) error

Types

type RepoDetail

type RepoDetail struct {
	Name    string `json:"name"`
	URL     string `json:"url"`
	PR      string `json:"pr"`
	Issues  string `json:"issues"`
	Visited int    `json:"visited"`
}

type RepoDetails

type RepoDetails struct {
	Details []RepoDetail `json:"repos"`
}

func LoadJsonFileData

func LoadJsonFileData() RepoDetails

Jump to

Keyboard shortcuts

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