autoroutes

package
v0.0.0-...-b9171e1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MethodGet    = models.MethodGet
	MethodPost   = models.MethodPost
	MethodPut    = models.MethodPut
	MethodDelete = models.MethodDelete
)

Variables

View Source
var (
	GetController    = controllers.GetController
	PostController   = controllers.PostController
	DeleteController = controllers.DeleteController
	PutController    = controllers.PutController
)
View Source
var GenerateRoutes = routes.GenerateRoutes

Functions

func GenerateConstantValue

func GenerateConstantValue(val interface{}) models.GenerateFunction

Utility functions for config generation

Types

type Config

type Config = models.Config

type GenerateFields

type GenerateFields = models.GenerateFields

type GenerateFunction

type GenerateFunction = models.GenerateFunction

type Route

type Route = models.Route

type Routes

type Routes = models.Routes

type ValidationFields

type ValidationFields = models.ValidationFields

type ValidationFunction

type ValidationFunction = models.ValidationFunction

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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