modparse

package
v0.0.0-...-cea2a68 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Modules

type Modules struct {
	// contains filtered or unexported fields
}

func Parse

func Parse(data []byte) (*Modules, error)

Parse ...

func ParseFiles

func ParseFiles(dir string, paths []string) (*Modules, error)

ParseFiles returns the first Modules object parsed from all available dependency tools.

func (*Modules) ForEach

func (m *Modules) ForEach(f func(string, *Version))

type Version

type Version struct {
	Major string
	Minor string
	Patch string
}

func (*Version) String

func (v *Version) String() string

Jump to

Keyboard shortcuts

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