biz

package
v0.0.0-...-c0e02ee Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 3 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

func NewBiz

func NewBiz(ds store.IStore) *biz

NewBiz 创建一个 IBiz 类型的实例.

Types

type IBiz

type IBiz interface {
	Users() user.UserBiz
	Posts() post.PostBiz
}

IBiz 定义了 Biz 层需要实现的方法.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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