Skip to content

Commit

Permalink
fixed pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
BazookaMusic committed Apr 7, 2019
1 parent 57ff938 commit b2a5a77
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion comparison_structs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package goskiplist

// example struct setup for insertion to
// Skiplist
Expand Down
6 changes: 3 additions & 3 deletions rand_func.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package goskiplist

import (
"math/rand"
Expand Down Expand Up @@ -26,7 +26,7 @@ func coinTosses(prob float64, maxLevels int, fast bool) (counter int) {
counter++
}

return
return counter

}

Expand All @@ -37,6 +37,6 @@ func coinTosses(prob float64, maxLevels int, fast bool) (counter int) {
res = rand.Float64()
counter++
}
return
return counter

}
2 changes: 1 addition & 1 deletion skip_helpers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package goskiplist

//Min min of two ints
func min(a, b int) int {
Expand Down
6 changes: 1 addition & 5 deletions skiplist.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package goskiplist

import (
"fmt"
Expand Down Expand Up @@ -753,7 +753,3 @@ func intersection(intersected, skipa, skipb *Skiplist, newProb bool) *Skiplist {
return intersected

}

func main() {

}
2 changes: 1 addition & 1 deletion skiplist_struct.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package goskiplist

import "sync"

Expand Down
2 changes: 1 addition & 1 deletion skiplist_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package main
package goskiplist

import (
"fmt"
Expand Down

0 comments on commit b2a5a77

Please sign in to comment.