Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop

This commit is contained in:
laodaming
2023-09-22 15:43:49 +08:00
3 changed files with 19 additions and 34 deletions

View File

@@ -157,17 +157,7 @@ func TestMain(t *testing.T) {
func TestCaseJSON_EXTRACT(t *testing.T) {
userProfile := &gmodel.UserProfileBase{
Base: struct {
FirstName string "json:\"first_name\""
LastName string "json:\"last_name\""
Resetaurant string "json:\"resetaurant\""
}{
FirstName: "FirstName",
LastName: "LastName",
Resetaurant: "Resetaurant",
},
}
userProfile := &gmodel.UserProfile{}
metadata, err := json.Marshal(userProfile)
if err != nil {
panic(err)