services

package
v0.0.0-...-a5609d5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNewUser

func AddNewUser(user *models.User) (*models.User, error)

func CreateArray

func CreateArray(elemNum int) ([10]int, error)

Array is always of fixed size

func CreateSlice

func CreateSlice(elemNum int) []int

Go exported functions always start with big letters! Slices expand when appending new values to them

func DeleteUser

func DeleteUser(userId int) error

func GetAllUsers

func GetAllUsers() (*[]models.User, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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