programkind

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileType

type FileType struct {
	Ext  string
	MIME string
}

func File

func File(path string) (*FileType, error)

File detects what kind of program this file might be.

func Path

func Path(path string) *FileType

Path returns a filetype based strictly on file path.

Jump to

Keyboard shortcuts

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