diff options
author | Emile <hanemile@protonmail.com> | 2019-10-19 18:05:15 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-19 18:05:15 +0200 |
commit | c707aaaa4ddc94abfd9603af86c595cdbbb0ee2a (patch) | |
tree | 0697a12929d01e8bf90deedeb52ba01938dfb2de /src | |
parent | 614b999890911cc602d0b5b19405c4f93bf53791 (diff) |
added the newChallenge function signature
Diffstat (limited to 'src')
-rw-r--r-- | src/db.go | 4 |
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 +} |