rungcal

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 12 Imported by: 0

README

build

$ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o bin/rundgcal cmd/rungcal/main.go
$ GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o bin/rundgcal cmd/rungcal/main.go

execution

$ go run ./cmd/rungcal/main.go insert --project=*** --target-date="yyyy-mm-dd" --dry-run --verbose

golangci-lint

$ docker run -t --rm -v $(pwd):/app -w /app golangci/golangci-lint golangci-lint run -v

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(deleteOption DeleteOption) int

func Insert

func Insert(insertOption InsertOption) int

Types

type DeleteOption

type DeleteOption struct {
	Option
}

type Execution

type Execution struct {
	// contains filtered or unexported fields
}

type InsertOption

type InsertOption struct {
	Option
	ReCreate bool
}

type Option

type Option struct {
	TargetDate string
	Project    string
	Verbose    bool
	DryRun     bool
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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