aop

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Autowired

func Autowired(v interface{})

func Invoke

func Invoke(before func(), target any, after func())

Deprecated only support func var

Types

type Dao

type Dao interface {
	Save()
	Update()
}

func NewDao

func NewDao() Dao

type Func

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

type Proxy

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

type User

type User struct {
}

func (*User) Save

func (u *User) Save()

func (*User) Update

func (u *User) Update()

type UserProxy

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

func (*UserProxy) Save

func (u *UserProxy) Save()

func (*UserProxy) Update

func (u *UserProxy) Update()

Jump to

Keyboard shortcuts

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