Documentation
¶
Overview ¶
gomodexample2
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Func ¶
func Func() int
Func answers
Example ¶
This example show how to use gomodexample2.Func()
package main
import (
"embed"
"fmt"
"io/fs"
"github.com/parro-it/gomodexample2"
)
//go:embed fixtures
var fixtureRootFS embed.FS
var fixtureFS, _ = fs.Sub(fixtureRootFS, "fixtures")
// This example show how to use gomodexample2.Func()
func main() {
fmt.Println(gomodexample2.Func())
}
Output: 42
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.