tsj

package module
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 0 Imported by: 0

README

vnd

Template for REST API server made with Golang. This template is built on top of echo.

Features:

  • Graceful stop
  • Close connections before stop
  • Response template error/success/success with pagination

Installation

To install vnd package, you need to install Go.

  1. You first need Go installed then you can use the below Go command to install vnd.
go get -u github.com/thienhaole92/vnd
  1. Import it in your code:
import "github.com/thienhaole92/vnd"

Quick start

Starting HTTP server

The example how to use vnd with to start REST api in example folder.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PackageName

func PackageName() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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