Compare commits
2 Commits
e44d286ab2
...
6252db9500
Author | SHA1 | Date | |
---|---|---|---|
|
6252db9500 | ||
|
8eae20297d |
@ -1,3 +1,5 @@
|
|||||||
# go-embed-test
|
# go-embed-test
|
||||||
|
|
||||||
Testing how //go:embed works for an imported module
|
Testing how //go:embed works for an imported module
|
||||||
|
|
||||||
|
Results: The test actually worked! Neat!
|
||||||
|
11
example/main.go
Normal file
11
example/main.go
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
|
||||||
|
embedtest "git.icomputeconsulting.com/bminer/go-embed-test"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Print(embedtest.Embed())
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user