controllers

package
Version: v0.0.0-...-80f32cb Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FarmController

type FarmController interface {
	Save(ctx *gin.Context) error
	FindAll() []entities.Farm
	Update(ctx *gin.Context) error
	Delete(ctx *gin.Context) error
}

func New

func New(service services.FarmService) FarmController

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL