Skip to content
Snippets Groups Projects
Unverified Commit b9259fb6 authored by Hans Moog's avatar Hans Moog Committed by GitHub
Browse files

Merge pull request #13 from iotaledger/refactoring-goimports

refactoring via goimports
parents 8bdd1796 8353f815
No related branches found
No related tags found
No related merge requests found
Showing
with 734 additions and 732 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