internal

package
v0.0.0-...-9e068c7 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTemplate = `` /* 206-byte string literal not displayed */

DefaultTemplate is the default template for rendering mrconfig files

Variables

This section is empty.

Functions

func RenderTemplate

func RenderTemplate(prefix, name string, repos []Repo, tmpl string, output io.Writer)

RenderTemplate is responsible for

Types

type Mrconfig

type Mrconfig struct {
	Prefix    string
	Name      string
	ReposList []Repo
}

Mrconfig is a container type to hold the necessary information

to render a mrconfig file

type Repo

type Repo struct {
	Name   string
	GitURL string
}

Repo is a simple struct to record the details of a repository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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