snapshot

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Snapshot

type Snapshot struct {
	Emoji   string          `yaml:"emoji,omitempty"`
	Summary string          `yaml:"summary,omitempty"`
	Body    string          `yaml:"body,omitempty"`
	Footer  string          `yaml:"footer,omitempty"`
	Author  repository.User `yaml:"author,omitempty"`
	Amend   bool            `yaml:"amend,omitempty"`
	Restore bool            `yaml:"restore,omitempty"`
}

func (*Snapshot) Load

func (s *Snapshot) Load(fh io.Reader) (Snapshot, error)

func (*Snapshot) Save

func (s *Snapshot) Save(fh io.WriteCloser, snap Snapshot) error

Jump to

Keyboard shortcuts

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