notes

package
v0.0.0-...-32827d1 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteNote

func DeleteNote(idStr string) (status int)

DeleteNote Delete a user for id

func GetAllNotes

func GetAllNotes() (j []byte, status int)

GetAllNotes Returns all Notes

func GetNoteById

func GetNoteById(idStr string) (j []byte, status int)

func GetNotesByUserId

func GetNotesByUserId(idStr string) (j []byte, status int)

func PostNote

func PostNote(n models.Note) (status int)

PostNote Create a new note

func PutNote

func PutNote(idStr string, n models.Note) (status int)

PutNote Update auser with id

Types

This section is empty.

Jump to

Keyboard shortcuts

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