refactor(app): 🎨 improve code structure

master
Xeronith 2023-05-09 23:17:17 +03:30
rodzic 5beb3b3a7a
commit d31ecc9a1b
22 zmienionych plików z 20 dodań i 20 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import . "github.com/reiver/greatape/components/contracts" import . "github.com/reiver/greatape/components/contracts"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
const ( const (
// ACTIVITY_PUB // ACTIVITY_PUB

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import . "github.com/reiver/greatape/components/contracts" import . "github.com/reiver/greatape/components/contracts"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
"fmt" "fmt"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
"time" "time"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
. "github.com/reiver/greatape/components/constants" . "github.com/reiver/greatape/components/constants"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
. "github.com/reiver/greatape/components/constants" . "github.com/reiver/greatape/components/constants"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
"time" "time"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
"time" "time"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
_ "embed" _ "embed"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import . "github.com/reiver/greatape/components/contracts" import . "github.com/reiver/greatape/components/contracts"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
. "github.com/reiver/greatape/components/constants" . "github.com/reiver/greatape/components/constants"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import . "github.com/reiver/greatape/components/contracts" import . "github.com/reiver/greatape/components/contracts"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
"encoding/json" "encoding/json"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
"encoding/json" "encoding/json"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
. "github.com/reiver/greatape/components/constants" . "github.com/reiver/greatape/components/constants"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import . "github.com/reiver/greatape/components/contracts" import . "github.com/reiver/greatape/components/contracts"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
. "github.com/reiver/greatape/components/constants" . "github.com/reiver/greatape/components/constants"

Wyświetl plik

@ -1,4 +1,4 @@
package spi package commands
import ( import (
"strings" "strings"

Wyświetl plik

@ -1,7 +1,7 @@
package core package core
import ( import (
commands "github.com/reiver/greatape/app/commands/spi" "github.com/reiver/greatape/app/commands"
"github.com/reiver/greatape/app/validators" "github.com/reiver/greatape/app/validators"
. "github.com/reiver/greatape/components/constants" . "github.com/reiver/greatape/components/constants"
. "github.com/reiver/greatape/components/contracts" . "github.com/reiver/greatape/components/contracts"