groupdata

package
v0.0.0-...-29c7da1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package groupdata is responsible for the data access for groupplan

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	// contains filtered or unexported fields
}

Data is the wrapper struct for our GORM object, and contains methods to interact with the persistent storage.

func New

func New(confPath string) (Data, error)

New creates a new instance of the Data access object

func (Data) Plans

func (d Data) Plans() *plans.PlanHandler

Plans returns the plan handler

func (Data) Users

func (d Data) Users() users.UserHandler

Users returns the users handler

Directories

Path Synopsis
Package dataerror contains error types for specific data-related errors, the messages of which should be returned to the user
Package dataerror contains error types for specific data-related errors, the messages of which should be returned to the user
Package plans is responsible for plan storage in the persistence layer
Package plans is responsible for plan storage in the persistence layer
Package users is responsible for user data
Package users is responsible for user data

Jump to

Keyboard shortcuts

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