arl.gitmux/formater.go
Aurélien Rainone 6f1a6ec93f Update to gitstatus@v0.4.1 (#4)
* Moves functions to main.go

* format: add and use package

* ci: use latest Go minor
2019-11-06 23:13:46 +01:00

14 lines
260 B
Go

package main
import (
"io"
"github.com/arl/gitstatus"
)
// A formater writes the status of a Git working tree in a given format.
type formater interface {
// Format writes the representation of a git status.
Format(io.Writer, *gitstatus.Status) error
}