Skip to content
Snippets Groups Projects
Commit 0ac0ba45 authored by capossele's avatar capossele
Browse files

refactoring via goimports

parent 33a8dfb5
No related branches found
No related tags found
No related merge requests found
Showing
with 724 additions and 722 deletions
package accountability
import (
"sync"
"github.com/dgraph-io/badger"
"github.com/iotaledger/goshimmer/packages/settings"
"github.com/iotaledger/goshimmer/packages/identity"
"sync"
"github.com/iotaledger/goshimmer/packages/settings"
)
var ownId *identity.Identity
......
......@@ -32,4 +32,3 @@ func TestBitmask(t *testing.T) {
t.Error("flag at pos 1 should not be set")
}
}
......@@ -2,9 +2,10 @@ package curl
import (
"fmt"
"github.com/iotaledger/goshimmer/packages/ternary"
"strconv"
"time"
"github.com/iotaledger/goshimmer/packages/ternary"
)
type HashRequest struct {
......
package curl
import (
"github.com/iotaledger/goshimmer/packages/ternary"
"math"
"github.com/iotaledger/goshimmer/packages/ternary"
)
const (
......@@ -14,7 +15,6 @@ var (
TRUTH_TABLE = ternary.Trits{1, 0, -1, 2, 1, -1, 0, 2, -1, 1, 0}
)
type Hash interface {
Initialize()
InitializeCurl(trits *[]int8, length int, rounds int)
......@@ -23,7 +23,6 @@ type Hash interface {
Squeeze(resp []int8, offset int, length int) []int
}
type Curl struct {
Hash
state ternary.Trits
......
package database
import (
"github.com/dgraph-io/badger"
"os"
"path/filepath"
"sync"
"github.com/dgraph-io/badger"
)
var databasesByName = make(map[string]*databaseImpl)
......
package datastructure
import (
"github.com/iotaledger/goshimmer/packages/errors"
"sync"
"github.com/iotaledger/goshimmer/packages/errors"
)
type DoublyLinkedList struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment