cmd

package
v0.0.0-...-de58008 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTodo

func CreateTodo(w http.ResponseWriter, r *http.Request)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetTodo

func GetTodo(w http.ResponseWriter, r *http.Request)

func HelloServer

func HelloServer(w http.ResponseWriter, r *http.Request)

func UpdateTodo

func UpdateTodo(w http.ResponseWriter, r *http.Request)

Types

type TodoItemModel

type TodoItemModel struct {
	Id          int    `json:"Id"`
	Description string `json:"Description"`
	Completed   bool   `json:"Completed"`
}

Jump to

Keyboard shortcuts

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