c3lx-challenge

command module
v0.0.0-...-446b837 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2021 License: MIT Imports: 8 Imported by: 0

README

c3lx-challenge

disclaimers

POST call to accept challenge returns accepted state before the call. Another call to GET challenges will reflect the change that was made.

go mod support

go mod init

SQL Scripts used

INSERT INTO ablue.challenges
(name, description, fullname)
VALUES
(
 'steps',
 'Get at least 10,000 steps a day for a month',
 'Get to steppin'
);

SELECT * FROM ablue.challenges;

INSERT INTO ablue.challenges
(name, description, fullname)
VALUES
(
    'eat',
    'Eat two healthy meals a day for two weeks',
    'You are what you eat'
);

INSERT INTO ablue.challenges
(name, description, fullname)
VALUES
(
    'sleep',
    'Average seven hours of sleep for five nights in a row',
    'Rip Van Winkle'
);

alter table ablue.challenges
	add accepted bool;

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src
dao

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL