Changed import path order

This commit is contained in:
2019-04-23 14:52:55 +09:00
parent c65f927678
commit 58a257f840
74 changed files with 164 additions and 164 deletions

View File

@ -5,10 +5,10 @@ import (
"sort"
"github.com/aerogo/aero"
"github.com/akyoto/color"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/components"
"github.com/animenotifier/notify.moe/utils"
"github.com/akyoto/color"
)
// UserRegistrations ...

View File

@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
"github.com/animenotifier/kitsu"
"github.com/akyoto/color"
"github.com/animenotifier/kitsu"
"github.com/animenotifier/arn"

View File

@ -5,10 +5,10 @@ import (
"sort"
"github.com/aerogo/aero"
"github.com/akyoto/color"
"github.com/animenotifier/arn"
"github.com/animenotifier/arn/autodocs"
"github.com/animenotifier/notify.moe/components"
"github.com/akyoto/color"
)
// Get api page.

View File

@ -5,10 +5,10 @@ import (
"sort"
"github.com/aerogo/aero"
"github.com/akyoto/color"
"github.com/animenotifier/arn"
"github.com/animenotifier/notify.moe/components"
"github.com/animenotifier/notify.moe/utils"
"github.com/akyoto/color"
)
const (

View File

@ -9,7 +9,7 @@ import (
)
var jobInfo = map[string]*utils.JobInfo{
"kitsu-import-anime": &utils.JobInfo{
"kitsu-import-anime": {
Name: "kitsu-import-anime",
},
// "anime-ratings": &utils.JobInfo{

View File

@ -52,7 +52,7 @@ func CreatePayment(ctx *aero.Context) string {
Payer: &paypalsdk.Payer{
PaymentMethod: "paypal",
},
Transactions: []paypalsdk.Transaction{paypalsdk.Transaction{
Transactions: []paypalsdk.Transaction{{
Amount: &paypalsdk.Amount{
Currency: "JPY",
Total: amount,