msg

package
v0.0.15-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddDgitRemote = `
dgit would like to add the '{{.remote}}' remote to this repo so that you can fetch directly from dgit.
`
View Source
var AddDgitRemoteConfirm = AddDgitToRemoteConfirm
View Source
var AddDgitToRemote = `
dgit would like to add {{.repourl}} to the '{{.remote}}' remote. This allows 'git push' to mirror this repository to dgit.
`
View Source
var AddDgitToRemoteConfirm = `Is that ok?`
View Source
var AddedDgitRemote = `` /* 140-byte string literal not displayed */
View Source
var AddedDgitToRemote = `` /* 133-byte string literal not displayed */
View Source
var FinalInstructions = `` /* 541-byte string literal not displayed */
View Source
var PrivateKeyNotFound = `
Could not load your dgit private key from {{.keyringProvider}}. Try running 'dgit init' again.
`
View Source
var PromptRepoName = `What is your full repo name?`
View Source
var PromptRepoNameConfirm = `It appears your repo is '{{.repo}}', is that correct?`
View Source
var PromptRepoNameInvalid = `Enter a valid repo name in the form '${user_or_org}/${repo_name}'`
View Source
var RepoCreated = `` /* 198-byte string literal not displayed */
View Source
var RepoNotFound = `
dgit repository does not exist.

You can create a dgit repository by running 'dgit init'.
`
View Source
var RepoNotFoundInPath = `` /* 197-byte string literal not displayed */
View Source
var Welcome = `` /* 225-byte string literal not displayed */

Functions

func Fprint

func Fprint(w io.Writer, str string, data map[string]interface{})

func Parse

func Parse(str string, data map[string]interface{}) string

TODO: probably should do a real i18n & template library, but they all looked heavy atm

func Print

func Print(str string, data map[string]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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