-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
97591c4
commit 0f28ebd
Showing
3 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
package main | ||
|
||
import "github.com/nano-adhara/test-commons/pkg/other" | ||
import ( | ||
"github.com/nano-adhara/test-commons/pkg/other" | ||
"github.com/nano-adhara/test-commons/pkg/some" | ||
) | ||
|
||
func main() { | ||
Foo() | ||
} | ||
|
||
func Foo() { | ||
other.Bar() | ||
func Foo(some some.Some) { | ||
other.Bar(some) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package other | ||
|
||
func Bar() { | ||
import "github.com/nano-adhara/test-commons/pkg/some" | ||
|
||
func Bar(some some.Some) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package some | ||
|
||
type Some struct{} |