biz

package
v0.0.0-...-c1a7e98 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package biz is the place where you can implements more complex business logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Biz

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

Biz is a concrete implementation of the IBiz interface.

func NewBiz

func NewBiz(ds store.IStore, rds *redis.Client) *Biz

NewBiz creates an instance of type IBiz.

func (*Biz) Users

func (b *Biz) Users() user.IBiz

Users returns an instance that implements the IBiz interface.

type IBiz

type IBiz interface {
	Users() user.IBiz
}

IBiz defines the methods that need to be implemented in the Biz layer.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳