package cache_service import ( "gin_log/pkg/e" "strconv" "strings" ) type Tag struct { ID int Name string State int PageNum int PageSize int } func (t *Tag) GetTagsKey() string { keys := []string{e.CACHE_TAG, "LIST"} if != "" { keys = append(keys, ) } if t.State ...
static private final String BROKER_LIST = "192.168.56.21:9092"; public static void main(String[] args) throws Exception { Producer<String, String> producer = initProducer(); sendOne(producer, TOPIC); producer.close(); } /** * Product泛型:第一个是发送的消息的key的类型,第二个是Payload的类...
If you already have launch configurations for the project (.vscode/launch.json), the Run view will display the configuration list to choose from. When no configuration is configured yet (no .vscode/launch.json file), the extension will choose a default configuration based on the file open in...
packageutilsimport("database/sql""time"_"github.com/go-sql-driver/mysql""wolflong.com/vue_gin/variable")funcMySqlDB(){ dbDriver :="mysql"dbUser :="root"dbPass :="sql2008"dbName :="vue"db, err := sql.Open(dbDriver, dbUser+":"+dbPass+"@/"+dbName)iferr !=nil{panic(err) } db...
A curated list of awesome Go frameworks, libraries and software. Inspired by awesome-python.Tools:Go Reflection: http://jimmyfrasche.github.io/go-reflection-codex/ Go Version Manager: Discussion around Go Package Management Goem Ext. Manager https://github.com/moovweb/gvm Pak https://github...
go-multierror - Go (golang) package for representing a list of errors as a single error. tracerr - Golang errors with stack trace and source fragments. werr - Error Wrapper creates an wrapper for the error type in Go which captures the File, Line and Stack of where it was called. Fi...
NCSI_ATTR_PACKAGE_LIST = 0x2 2320 NCSI_ATTR_PACKAGE_ID = 0x3 2321 NCSI_ATTR_CHANNEL_ID = 0x4 2322 NCSI_PKG_ATTR_UNSPEC = 0x0 2323 NCSI_PKG_ATTR = 0x1 2324 NCSI_PKG_ATTR_ID = 0x2 2325 NCSI_PKG_ATTR_FORCED = 0x3 2326 NCSI_PKG_ATTR_CHANNEL_LIST = 0x4 2327 NCSI_CHANNEL_ATTR...
And so, this is still very much in sort of waiting list stage. So it's, it's early days. But their, that, their start focus is that you can have reusable cloud builds that run on anywhere. Potentially GitHub actions but potentially also other pipeline providers. And also a nice way ...
gut/yos - Simple and reliable package for file operations like copy/move/diff/list on files, directories and symbolic links. higgs - A tiny cross-platform Go library to hide/unhide files and directories. notify - File system event notification library with simple API, similar to os/signal. ...
[FEATURE] API client: Support wal replay status api #944 [FEATURE] Use the runtime/metrics package for the Go collector for 1.17+ #955 [ENHANCEMENT] API client: Update /api/v1/status/tsdb to include headStats #925 [ENHANCEMENT] promhttp: Check validity of method and code label values #...