From 6f0d7bf69f5e1796562b21be6855d374eff69f93 Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Sat, 25 Apr 2020 13:07:05 +0700 Subject: [PATCH] Format code --- model/client.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/model/client.go b/model/client.go index a737b4e..fe60ac3 100644 --- a/model/client.go +++ b/model/client.go @@ -6,20 +6,20 @@ import ( // Client model type Client struct { - ID string `json:"id"` - PrivateKey string `json:"private_key"` - PublicKey string `json:"pulbic_key"` - Name string `json:"name"` - Email string `json:"email"` - AllocatedIPs []string `json:"allocated_ips"` - AllowedIPs []string `json:"allowed_ips"` - Enabled bool `json:"enabled"` - CreatedAt time.Time `json:"created_at"` - UpdatedAt time.Time `json:"updated_at"` + ID string `json:"id"` + PrivateKey string `json:"private_key"` + PublicKey string `json:"pulbic_key"` + Name string `json:"name"` + Email string `json:"email"` + AllocatedIPs []string `json:"allocated_ips"` + AllowedIPs []string `json:"allowed_ips"` + Enabled bool `json:"enabled"` + CreatedAt time.Time `json:"created_at"` + UpdatedAt time.Time `json:"updated_at"` } // ClientData includes the Client and extra data type ClientData struct { - Client *Client - QRCode string + Client *Client + QRCode string }