gomod

package
v0.0.0-...-c39e8e5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: AGPL-3.0 Imports: 6 Imported by: 1

Documentation

Overview

Package gomod provides simple go.mod file parsing.

TODO(h8liu): simply call golang.org/x/mod/modfile

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Name string
}

File is a parsed go.mod file.

func Parse

func Parse(f string) (*File, error)

Parse parses a go.mod file.

Jump to

Keyboard shortcuts

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