helpers

package
v0.0.0-...-2b77a9c Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCards

func GenerateCards(shuffle bool, wantedStr string) []models.Card

GenerateCards generates a set of cards

func GetClient

func GetClient() (*mongo.Client, *mongo.Collection, *context.Context, error)

GetClient gets an instance of a mongodb client, collection and context

Types

This section is empty.

Jump to

Keyboard shortcuts

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