Maint: use qdm12/gosplash

This commit is contained in:
Quentin McGaw (desktop)
2021-07-22 20:56:47 +00:00
parent c33402ce66
commit 5b9887dade
10 changed files with 36 additions and 105 deletions

View File

@@ -1,13 +0,0 @@
package constants
const (
// Announcement is a message announcement.
Announcement = "New Docker image qmcgaw/gluetun"
// AnnouncementExpiration is the expiration date of the announcement in format yyyy-mm-dd.
AnnouncementExpiration = "2021-01-20"
)
const (
// IssueLink is the link for users to use to create issues.
IssueLink = "https://github.com/qdm12/gluetun/issues/new"
)

View File

@@ -1,17 +0,0 @@
package constants
import (
"testing"
"time"
"github.com/stretchr/testify/assert"
)
func Test_AnnouncementExpiration(t *testing.T) {
t.Parallel()
if len(AnnouncementExpiration) == 0 {
return
}
_, err := time.Parse("2006-01-02", AnnouncementExpiration)
assert.NoError(t, err)
}