thisnthat 5 年之前
父节点
当前提交
3a18787a01
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      users.go

+ 4 - 0
users.go

@@ -6,6 +6,10 @@ import (
 	"net/http"
 )
 
+type UserResponse struct {
+	User User `json:"user"`
+}
+
 type User struct {
 	ID        string  `json:"id"`
 	Username  string  `json:"username"`