controller

package
v0.0.2-0...-b7b4efe Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindModulesInProjects

func FindModulesInProjects(projects []model.Project) (result []model.Module, err error)

func GetProjects

func GetProjects() (result []model.Project, err error)

func PrintModulesJSON

func PrintModulesJSON(modules []model.Module)

Print Modules in JSON format

func PrintModulesTable

func PrintModulesTable(modules []model.Module)

Print Modules in Table format

func PrintProjectsJSON

func PrintProjectsJSON(projects []model.Project)

Print Projects in JSON format

func PrintProjectsTable

func PrintProjectsTable(projects []model.Project)

Print Projects in Table format

Types

type ByLastCommit

type ByLastCommit []model.Project

/ Logic to sort by Last Commit

func (ByLastCommit) Len

func (a ByLastCommit) Len() int

func (ByLastCommit) Less

func (a ByLastCommit) Less(i, j int) bool

func (ByLastCommit) Swap

func (a ByLastCommit) Swap(i, j int)

Jump to

Keyboard shortcuts

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