controllers

package
v0.0.0-...-00b2466 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect() error

func CreateEmployee

func CreateEmployee(c *fiber.Ctx) error

func DeleteEmployee

func DeleteEmployee(c *fiber.Ctx) error

func EditEmployee

func EditEmployee(c *fiber.Ctx) error

func GetEmployee

func GetEmployee(c *fiber.Ctx) error

Types

type MongoInstance

type MongoInstance struct {
	Client *mongo.Client
	Db     *mongo.Database
}

Jump to

Keyboard shortcuts

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