about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-19 18:05:15 +0200
committerEmile <hanemile@protonmail.com>2019-10-19 18:05:15 +0200
commitc707aaaa4ddc94abfd9603af86c595cdbbb0ee2a (patch)
tree0697a12929d01e8bf90deedeb52ba01938dfb2de /src
parent614b999890911cc602d0b5b19405c4f93bf53791 (diff)
added the newChallenge function signature
Diffstat (limited to 'src')
-rw-r--r--src/db.go4
1 files changed, 4 insertions, 0 deletions
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
+}