Skip to content

Commit

Permalink
optimize(emozi): remove unnecessary return
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Oct 13, 2024
1 parent 9a40555 commit e77badd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emozi/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
// NewUser 创建已注册用户实例
//
// 注册请前往 API 网址
func NewUser(name, pswd string) (usr User, err error) {
func NewUser(name, pswd string) (usr User) {
usr.name = name
usr.pswd = pswd
return
Expand Down

0 comments on commit e77badd

Please sign in to comment.