go-git: github.com/go-git/go-git/_examples Index | Files | Directories

package examples

import "github.com/go-git/go-git/_examples"

Index

Package Files

common.go

func CheckArgs Uses

func CheckArgs(arg ...string)

CheckArgs should be used to ensure the right command line arguments are passed before executing an example.

func CheckIfError Uses

func CheckIfError(err error)

CheckIfError should be used to naively panics if an error is not nil.

func Info Uses

func Info(format string, args ...interface{})

Info should be used to describe the example commands that are about to run.

func Warning Uses

func Warning(format string, args ...interface{})

Warning should be used to display a warning

Directories

PathSynopsis
branch
checkout
clone
commit
context
custom_http
log
ls
ls-remote
merge_base
open
progress
pull
push
remotes
revision
showcase
submodule
tag
tag-create-push

Package examples imports 3 packages (graph). Updated 2020-11-28. Refresh now. Tools for package owners.