iam icon indicating copy to clipboard operation
iam copied to clipboard

企业级的 Go 语言实战项目:认证和授权系统(带配套课程)

Results 29 iam issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/42992581/183385240-bdbfd0e7-268d-4dc2-915d-1f6a7df64e8d.png)

since there is no --no-run-if-empty option in xargs command of MacOS.

Change echo to printf, since there is no -e option in echo command of MacOS.

使用下来发现日志包可以扩展的几个点: 1.日志包在输出到不同的地方的时候可以采用不同的writer,写到 stdout 的日志可以正常显示颜色,但是写到文本文件里的日志就不能。 我觉得可以用 zap 的tee来拼接多个core实现。 2. 现在的日志我没有找到日志分割的接口,因为是用build来创建 zap 的而不是用 zap.New 的core 来创建的,可以增加适当接口。 3. 对于日期这类我觉得也可以对外提供可选择的接口。

请问我想根据id获取用户这种类似的操作,需要先查redis代码,如果没有的话,再查mysql数据,还要再更新缓存,这种场景在这个架子里怎么组织代码(service、store)比较合适呢

#### Summary: This Pull Request addresses a minor yet crucial typo in our build script. The function `openim::release::updload_tarballs` is incorrectly named and has been renamed to `openim::release::upload_tarballs` to reflect its...

您好,这份代码质量非常的高。但是事务的话,现在只能在store里面的每个接口加入db *gorm.DB的参数。不知道如何设计才会更加优雅。

**Issue Description:** $ `make build BINS=iam-authz-server` github.com/marmotedu/iam/cmd/iam-authz-server cmd/iam-authz-server/authzserver.go:18:2: undefined: authzserver make[1]: *** [scripts/make-rules/golang.mk:56: go.build.linux_amd64.iam-authz-server] Error 1 make: *** [Makefile:62: build] Error 2 $` go build -v cmd/iam-authz-server/authzserver.go ` command-line-arguments cmd/iam-authz-server/authzserver.go:18:2:...