file

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: MIT 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 {
	Abs      string
	Path     string
	Base     string
	Ext      string
	Name     string
	File     string
	Padding  string
	Mimetype string
	// contains filtered or unexported fields
}

func New

func New(n string) File

func (File) AddSuffix

func (f File) AddSuffix(s string) string

func (File) Pad

func (f File) Pad(i int) string

func (File) WithExt

func (f File) WithExt(e string) string

Jump to

Keyboard shortcuts

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