commit 4ebbccf38c38326cd341ff5e66e3b9ac70224165
parent 365fb8a8022852461647990e950b86347f2dcfdc
Author: bsandro <brian.drosan@gmail.com>
Date: Sat, 14 Aug 2021 02:29:25 +0300
go fmt
Diffstat:
6 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/app/app.go b/app/app.go
@@ -5,10 +5,10 @@ import (
"bsandro.tech/git/twitchapon/localserver"
"bsandro.tech/git/twitchapon/twitch"
"golang.org/x/net/websocket"
- "sync"
- "time"
"log"
"net/http"
+ "sync"
+ "time"
)
type TApp struct {
diff --git a/interfaces/iapp.go b/interfaces/iapp.go
@@ -1,4 +1,5 @@
package twitchapon
+
import (
"golang.org/x/net/websocket"
)
diff --git a/localserver/localserver.go b/localserver/localserver.go
@@ -1,8 +1,8 @@
package localserver
import (
- "bsandro.tech/git/twitchapon/twitch"
iface "bsandro.tech/git/twitchapon/interfaces"
+ "bsandro.tech/git/twitchapon/twitch"
"io"
"net/http"
)
diff --git a/twitch/auth.go b/twitch/auth.go
@@ -1,12 +1,12 @@
package twitch
import (
+ conf "bsandro.tech/git/twitchapon/config"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
- conf "bsandro.tech/git/twitchapon/config"
)
type TAuth struct {
diff --git a/twitch/listen.go b/twitch/listen.go
@@ -1,9 +1,9 @@
package twitch
import (
+ iface "bsandro.tech/git/twitchapon/interfaces"
"fmt"
"golang.org/x/net/websocket"
- iface "bsandro.tech/git/twitchapon/interfaces"
)
type TListenRequest struct {
diff --git a/twitch/user.go b/twitch/user.go
@@ -28,8 +28,8 @@ type TUsersResponse struct {
}
type TAuthInfo struct {
- UserName string
- ClientId string
+ UserName string
+ ClientId string
AccessToken string
}