cmd

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: MIT Imports: 58 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately.

func SetVersionInfo

func SetVersionInfo(v, bt string)

SetVersionInfo sets version information from main package

Types

type FeishuUserResolver

type FeishuUserResolver struct{}

FeishuUserResolver 实现 converter.UserResolver 接口,通过飞书 API 批量解析用户信息 放在 cmd 包中以避免 client ↔ converter 循环依赖

func (*FeishuUserResolver) BatchResolve

func (r *FeishuUserResolver) BatchResolve(userIDs []string) map[string]converter.MentionUserInfo

BatchResolve 批量解析用户 ID 为用户信息,失败时静默降级返回空 map

Source Files

Jump to

Keyboard shortcuts

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