Browse Source

condition tags

0x4a52466c696e74 4 months ago
parent
commit
f3f32d6cfe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      orders.go

+ 2 - 2
orders.go

@@ -1,6 +1,6 @@
 package rest
 
 type Order struct {
-	Name  string
-	IsAsc bool
+	Name  string `json:"Name"`
+	IsAsc bool   `json:"IsAsc"`
 }