Archived
1

Format imports with goimport

This commit is contained in:
2018-05-02 07:25:39 +04:00
parent ef9cf07abc
commit 86afa52a56
43 changed files with 108 additions and 128 deletions

View File

@@ -5,10 +5,11 @@ package datacache
import (
"errors"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initChats() {

View File

@@ -5,10 +5,11 @@ package datacache
import (
"errors"
"strconv"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"strconv"
)
func (dc *DataCache) initElements() {

View File

@@ -4,11 +4,12 @@
package datacache
import (
"sync"
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datacache/datacacheinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"sync"
)
var (

View File

@@ -5,10 +5,11 @@ package datacache
import (
"errors"
"strconv"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"strconv"
)
func (dc *DataCache) initLeagues() {

View File

@@ -5,10 +5,11 @@ package datacache
import (
"errors"
"strconv"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"strconv"
)
func (dc *DataCache) initLevels() {

View File

@@ -5,10 +5,11 @@ package datacache
import (
"errors"
"strconv"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"strconv"
)
func (dc *DataCache) initLocations() {

View File

@@ -5,9 +5,10 @@ package datacache
import (
"errors"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
"time"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initPlayers() {

View File

@@ -5,11 +5,12 @@ package datacache
import (
"errors"
"strconv"
"strings"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"strconv"
"strings"
)
func (dc *DataCache) initPokememes() {

View File

@@ -5,8 +5,9 @@ package datacache
import (
"errors"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initProfiles() {

View File

@@ -5,8 +5,9 @@ package datacache
import (
"errors"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initSquads() {

View File

@@ -5,11 +5,12 @@ package datacache
import (
"errors"
"strconv"
"strings"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"strconv"
"strings"
)
func (dc *DataCache) initWeapons() {