~ritho/goapi

Goapi is a Go template that implements a basic API.
Add tests to the server package.
Add some unit tests for the controller package.
Update xmobar configuration.

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~ritho/goapi
read/write
git@git.sr.ht:~ritho/goapi

You can also use your local clone with git send-email.

#Goapi

Goapi is a Go template that implements a basic API.

#Makefile targets

  • build: Builds the service.
  • tests: Run the unit tests.
  • tests-update: Run the unit tests, updating the snapshots at testdata.
  • lint: Run the linter.
  • update-lint: Update golangci-lint.
  • clean: Cleans temporary files.
  • conf: Generates a configuration file for development.
  • start: Starts the goapi server locally.
  • stop: Stops the goapi server.
  • restart: Restarts the goapi server.

#License

Goapi is licensed under the GNU AGPLv3 https://www.gnu.org/licenses/agpl.html. You should have received a copy of the GNU Affero General Public License along with god. If not, see http://www.gnu.org/licenses/.