oxplugins

package module
v0.7.11 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MIT Imports: 20 Imported by: 0

README

Oxpecker Plugins

This repo holds a set of default plugins for oxpecker to work with Go and the Buffalo stack used by the Wawandco team.

Usage

You can use individual plugins in here or use the base set of plugins in the All variable.

// in cmd/ox/main.go
import (
    ...
    "github.com/wawandco/oxplugins"
)

func main() {
    fmt.Print("~~~~ Using {{.Name}}/cmd/ox ~~~\n\n")
    ctx := context.Background()

    pwd, err := os.Getwd()
    if err != nil {
        log.Fatal(err)
    }
    
    cl := cli.New()
    // append your plugins here
    cl.Plugins = append(cl.Plugins, oxplugins.Base...)
    ...
}

Documentation

Index

Constants

This section is empty.

Variables

Base plugins for Wawandco applications lifecycle. While oxplugins has other plugins this list is the base that is used across most of the apps we do. Feel free to add the rest in your cmd/ox/main.go file.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
internal
lifecycle
dev
fix
fix package contains the logics of the fix operations, fix operations are in charge of adapting our source code to comply with newer versions of the CLI.
fix package contains the logics of the fix operations, fix operations are in charge of adapting our source code to comply with newer versions of the CLI.
generate
generate package provides the base of the generate command which allows to run generators for tools.
generate package provides the base of the generate command which allows to run generators for tools.
new
test
test package contains the tooling for the test command on the cli.
test package contains the tooling for the test command on the cli.
tools
db
db packs all db operations under this top level command.
db packs all db operations under this top level command.
liquibase
Liquibase package aims to provide a ox plugin to manage migrations with the Liquibase style.
Liquibase package aims to provide a ox plugin to manage migrations with the Liquibase style.
ox
pop
standard
Standard package provides plugin that performs operations of the Go standard toolset.
Standard package provides plugin that performs operations of the Go standard toolset.

Jump to

Keyboard shortcuts

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