spellbook

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MagicalContext context.Context
)

Functions

func Combine

func Combine(ctx context.Context, spells ...interface{})

func Invoke

func Invoke(ctx context.Context, message string) context.Context

func Run

func Run(ctx context.Context, cmd string, args ...string) error

Types

type Go

type Go mg.Namespace

func (Go) Cover

func (Go) Cover(ctx context.Context) error

Builds and opens a coverage report

func (Go) Format

func (Go) Format(ctx context.Context) error

Runs formatting tools on the code base

func (Go) Integration

func (Go) Integration(ctx context.Context) error

Runs ginkgo for integration test

func (Go) Lint

func (Go) Lint(ctx context.Context) error

Runs a linter on the source code

func (Go) Test

func (Go) Test(ctx context.Context) error

Runs ginkgo for unit tests

func (Go) Tidy

func (Go) Tidy(ctx context.Context) error

Cleans dependencies and imports

type MagicalKey

type MagicalKey string
const MagicalWord MagicalKey = "mage"

Jump to

Keyboard shortcuts

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