application

package
v3.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Customer

type Customer struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type CustomerAPI

type CustomerAPI struct {
	// contains filtered or unexported fields
}

func (*CustomerAPI) GetByID

func (ca *CustomerAPI) GetByID(id string) (*Customer, error)

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func (*Handler) GetById

func (h *Handler) GetById(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳