license

package
v0.0.0-...-bbcbdef Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Unlicense Imports: 7 Imported by: 0

Documentation

Overview

Package license contains plugins for working with project licenses. Currently, it's limited to updating the blurb in go file headers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier interface {
	Apply(text.Editor, ...text.Edit)
}

type Controller

type Controller interface {
	LineCount() int
	LineStart(int) int
	Line(int) string
}

type HeaderUpdate

type HeaderUpdate struct {
	status.General
	// contains filtered or unexported fields
}

func NewHeaderUpdate

func NewHeaderUpdate(theme gxui.Theme) *HeaderUpdate

func (*HeaderUpdate) Defaults

func (u *HeaderUpdate) Defaults() []fmt.Stringer

func (*HeaderUpdate) Exec

func (u *HeaderUpdate) Exec() error

func (*HeaderUpdate) LicenseEdit

func (u *HeaderUpdate) LicenseEdit() *text.Edit

func (*HeaderUpdate) Menu

func (u *HeaderUpdate) Menu() string

func (*HeaderUpdate) Name

func (u *HeaderUpdate) Name() string

func (*HeaderUpdate) Reset

func (u *HeaderUpdate) Reset()

func (*HeaderUpdate) Store

func (u *HeaderUpdate) Store(target interface{}) bind.Status

type Projecter

type Projecter interface {
	Project() setting.Project
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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