gomod

package
v0.0.0-...-85c9fa9 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package gomod package that contain function to find absolute path for go.mod

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find() (string, error)

Find find absolutepath that have go.mod in parent folder. only test works in UNIX. Maybe wouldn't work in windows.

func FindDir

func FindDir() (string, error)

func ModuleName

func ModuleName() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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