1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Quick run through to add some documentation comments

This commit is contained in:
Chris Cummer
2018-04-17 15:55:36 -07:00
parent ff9343d89a
commit 3175b8d9cc
16 changed files with 90 additions and 47 deletions

View File

@@ -9,6 +9,7 @@ import (
nr "github.com/yfronto/newrelic"
)
// Config is a pointer to the global config object
var Config *config.Config
type Widget struct {
@@ -49,7 +50,7 @@ func (widget *Widget) Refresh() {
widget.View.SetWrap(false)
fmt.Fprintf(widget.View, "%s", widget.contentFrom(deploys))
}
widget.RefreshedAt = time.Now()
}