virtualproject

package
v0.6.264 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFirstKeyMap

func GetFirstKeyMap(strMap map[string][]entity.Workspace) (string, bool)

Types

type VirtualProject

type VirtualProject struct {
	Name             string
	GitURL           string
	WorkspacesByUser map[string][]entity.Workspace
}

func NewVirtualProjects

func NewVirtualProjects(workspaces []entity.Workspace) []VirtualProject

func (VirtualProject) GetUniqueUserCount

func (v VirtualProject) GetUniqueUserCount() int

func (VirtualProject) GetUserWorkspaces

func (v VirtualProject) GetUserWorkspaces(userID string) []entity.Workspace

Jump to

Keyboard shortcuts

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