Skip to content

Commit a97fd0a

Browse files
committed
reformat
1 parent cf3f581 commit a97fd0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+108
-66
lines changed

backend/backend.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import (
44
"net/http"
55
"time"
66

7-
"github.com/KittyBot-Org/KittyBotGo/db"
87
"github.com/disgoorg/handler"
98

9+
"github.com/KittyBot-Org/KittyBotGo/db"
10+
1011
"github.com/disgoorg/disgo/discord"
1112
"github.com/disgoorg/disgo/rest"
1213
"github.com/disgoorg/log"

backend/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ package backend
33
import (
44
"time"
55

6-
"github.com/KittyBot-Org/KittyBotGo/config"
76
"github.com/disgoorg/snowflake/v2"
7+
8+
"github.com/KittyBot-Org/KittyBotGo/config"
89
)
910

1011
type Config struct {

backend/routes/votes.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import (
44
"encoding/json"
55
"net/http"
66

7-
backend2 "github.com/KittyBot-Org/KittyBotGo/backend"
87
"github.com/disgoorg/snowflake/v2"
98
"github.com/gorilla/mux"
9+
10+
backend2 "github.com/KittyBot-Org/KittyBotGo/backend"
1011
)
1112

1213
type voteAddPayload struct {

cmd/backend/main.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ import (
66
"os/signal"
77
"syscall"
88

9+
"github.com/disgoorg/log"
10+
_ "github.com/lib/pq"
11+
912
backend2 "github.com/KittyBot-Org/KittyBotGo/backend"
1013
"github.com/KittyBot-Org/KittyBotGo/backend/routes"
1114
"github.com/KittyBot-Org/KittyBotGo/config"
1215
"github.com/KittyBot-Org/KittyBotGo/db"
13-
"github.com/disgoorg/log"
14-
_ "github.com/lib/pq"
1516
)
1617

1718
var (

config/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import (
44
"errors"
55
"os"
66

7-
"github.com/KittyBot-Org/KittyBotGo/db"
87
"github.com/disgoorg/json"
98
"github.com/disgoorg/log"
109
"github.com/disgoorg/snowflake/v2"
10+
11+
"github.com/KittyBot-Org/KittyBotGo/db"
1112
)
1213

1314
func LoadConfig(v interface{}) error {

db/guild_settings.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ package db
33
import (
44
"database/sql"
55

6-
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
7-
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
86
"github.com/disgoorg/snowflake/v2"
97
. "github.com/go-jet/jet/v2/postgres"
8+
9+
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
10+
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
1011
)
1112

1213
type GuildSettingsDB interface {

db/liked_tracks.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import (
44
"database/sql"
55
"time"
66

7-
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
8-
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
97
"github.com/disgoorg/snowflake/v2"
108
. "github.com/go-jet/jet/v2/postgres"
9+
10+
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
11+
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
1112
)
1213

1314
type LikedTracksDB interface {

db/play_histories.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import (
44
"database/sql"
55
"time"
66

7-
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
8-
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
97
"github.com/disgoorg/snowflake/v2"
108
. "github.com/go-jet/jet/v2/postgres"
9+
10+
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
11+
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
1112
)
1213

1314
type PlayHistoriesDB interface {

db/reports.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import (
44
"database/sql"
55
"time"
66

7-
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
8-
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
97
"github.com/disgoorg/snowflake/v2"
108
. "github.com/go-jet/jet/v2/postgres"
9+
10+
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
11+
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
1112
)
1213

1314
type ReportsDB interface {

db/tags.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import (
44
"database/sql"
55
"time"
66

7-
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
8-
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
97
"github.com/disgoorg/snowflake/v2"
108
. "github.com/go-jet/jet/v2/postgres"
9+
10+
. "github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/model"
11+
"github.com/KittyBot-Org/KittyBotGo/db/.gen/kittybot-go/public/table"
1112
)
1213

1314
type TagsDB interface {

0 commit comments

Comments
 (0)