github

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GHRepo

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

GHRepo represents template repository

func NewRepoInfo

func NewRepoInfo(cfg *velox.Config, log *zap.Logger) *GHRepo

func (*GHRepo) DownloadTemplate

func (r *GHRepo) DownloadTemplate(version string) (string, error)

DownloadTemplate downloads template repository ->

func (*GHRepo) GetPluginsModData

func (r *GHRepo) GetPluginsModData() ([]*structures.ModulesInfo, error)

type GitRepository

type GitRepository interface {
	GetGoMod(owner, repo, ref string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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