gomodexample2

package module
v0.0.0-...-0c04a76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2021 License: MIT Imports: 0 Imported by: 0

README

gomodexample2

gomodexample2

Documentation

Contributing

License

MIT Licensed

© 2021 Andrea Parodi

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL