Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

eolinker/go-common

Repository files navigation

aoplatform common

控制台通用工具包

package

"github.com/eolinker/go-common"

aolabel

定义

type Struct struct{
	Creator auto.Label `json:"creator" aolabel:"user"`
}

auto 赋值

v:= &Struct{
Creator: auto.UUID("uuid")
}
list:= make([]*Struct{},0)
...
auto.CompleteLabels(cxt,v)
auto.CompleteLabels(ctx,list)
auto.CompleteLabels(ctx,list...)

注册完成器

import (
 "github/eolinker/go-common/auto"
)
auto.RegisterService(name, handler)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /