file

package
v0.0.0-...-3ed7c7a Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Path    string
	Comment string
}

File represents a file that could contain a license, or will need a license

func New

func New(path string, comment string) *File

New ...

func (*File) ReadLicense

func (f *File) ReadLicense() (l *license.License, rerr error)

ReadLicense ...

Jump to

Keyboard shortcuts

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