From c707aaaa4ddc94abfd9603af86c595cdbbb0ee2a Mon Sep 17 00:00:00 2001 From: Emile Date: Sat, 19 Oct 2019 18:05:15 +0200 Subject: added the newChallenge function signature --- src/db.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/db.go b/src/db.go index 35840c1..9e06493 100644 --- a/src/db.go +++ b/src/db.go @@ -77,3 +77,7 @@ func getAllChallenges(db *sql.DB) []Challenge { return challenges } + +func newChallenge(challenge Challenge) error { + // do magic here +} -- cgit 1.4.1