From e77badd1b165e074a3f54c5e1b6cfe462fd0dae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sun, 13 Oct 2024 17:45:07 +0900 Subject: [PATCH] optimize(emozi): remove unnecessary return --- emozi/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emozi/login.go b/emozi/login.go index 3d3ce7a..410f71a 100644 --- a/emozi/login.go +++ b/emozi/login.go @@ -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