Documentation
¶
Overview ¶
Package diff provides functionality to analyze updates and send notifications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jar ¶ added in v0.0.2
type Jar struct {
Diffs map[string]Diff
Sender *router.ServiceRouter
}
Jar holds a collection of Diff objects and information to notify the user.
func NewJar ¶ added in v0.0.2
func NewJar(sender *router.ServiceRouter) *Jar
NewJar creates a new Jar given information to notify the user.
func (*Jar) Add ¶ added in v0.0.2
func (d *Jar) Add(name string, is *g.Repository, was *g.Repository)
Add adds a new Diff into the Jar if a difference in the latest update was detected.
Click to show internal directories.
Click to hide internal directories.