goatron

package module
v0.0.0-...-6db6ccc Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

README

Goatron - A RESTful TODO service!

- Fun weekend to learn Golang!

This is a very simple RESTful API service for creating/viewing/updating/deleting TODO notes!

It is based on the guide by Saddam H

Run

go run main/main.go This will start the server at http://127.0.0.1:8080/api/v1/todos

Build

go build main/main.go

Methods

Method Type Path Params
Create a TODO POST / title, completed
Fetch all TODOs GET /
Fetch single TODO POST /id
Update TODO PUT /id title, completed
Delete TODO DELETE /id
Delete all TODOs DELETE /

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Service

func Service()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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