摘要:
package main import ( "fmt" "math/rand" "time" ) //生产者 func producer(header string,channel chan<- string) { for{ channel <- fmt.Sprintf("%s: %v",heade 阅读全文
posted @ 2020-05-14 16:50
瑾谦
阅读(219)
评论(0)
推荐(0)
摘要:
package main import ( "fmt" "github.com/chilts/sid" "github.com/kjk/betterguid" "github.com/oklog/ulid" "github.com/rs/xid" "github.com/satori/go.uuid 阅读全文
posted @ 2020-05-14 16:39
瑾谦
阅读(2659)
评论(0)
推荐(0)
摘要:
package main import ( _ "context" "database/sql" "fmt" _ "github.com/go-sql-driver/mysql" uuid "github.com/satori/go.uuid" ) /* CREATE TABLE `t_user_i 阅读全文
posted @ 2020-05-14 13:50
瑾谦
阅读(446)
评论(0)
推荐(0)

浙公网安备 33010602011771号