edit

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoChangesMade = stderrors.New("no changes made")
)

Functions

This section is empty.

Types

type Editor

type Editor interface {
	Edit(ctx context.Context, p string, data []byte) ([]byte, error)
}

type Service

type Service interface {
	Edit(ctx context.Context, index store.SecretIndex) error
}

func NewService

func NewService(s store.Service, editor Editor) Service

Jump to

Keyboard shortcuts

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