Skip to content

Commit

Permalink
Upgraded to go mod
Browse files Browse the repository at this point in the history
  • Loading branch information
monoflash committed Oct 30, 2020
1 parent a1a0dc5 commit 35ea723
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion debug.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debug // import "github.com/webnice/debug/v1"
package debug

import (
"bufio"
Expand Down
2 changes: 1 addition & 1 deletion file.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debug // import "github.com/webnice/debug/v1"
package debug

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/webnice/debug/v1
module github.com/webnice/debug

go 1.15
2 changes: 1 addition & 1 deletion printer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debug // import "github.com/webnice/debug/v1"
package debug

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion public.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debug // import "github.com/webnice/debug/v1"
package debug

import "fmt"

Expand Down
12 changes: 6 additions & 6 deletions trace.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debug // import "github.com/webnice/debug/v1"
package debug

import (
"runtime"
Expand All @@ -23,14 +23,14 @@ func newTrace() *trace {
return new(trace)
}

func (t *trace) Trace(level int) (trc *trace){
func (t *trace) Trace(level int) (trc *trace) {
var (
ok bool
pc uintptr
fn *runtime.Func
ok bool
pc uintptr
fn *runtime.Func
buf []byte
tmp []string
n int
n int
)

if level == 0 {
Expand Down
2 changes: 1 addition & 1 deletion trace_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package debug // import "github.com/webnice/debug/v1"
package debug

import "testing"

Expand Down

0 comments on commit 35ea723

Please sign in to comment.