Documentation
¶
Index ¶
- Constants
- func AddImportToFile(s string, path string) string
- func Contains[T comparable](arr []T, elem T) bool
- func InitFs(firefoxPath string, profileName string) afero.Fs
- func LocateUserFiles(fs afero.Fs, modPath string) (userFilePaths map[UserFile]string)
- func PrepareFirefox(fs afero.Fs) (string, error)
- func Remove[T any](slice []T, s int) []T
- type FoxYml
- type FoxYmlMod
- type UserFile
Constants ¶
View Source
const ( Chrome = "userChrome.css" Content = "userContent.css" )
Variables ¶
This section is empty.
Functions ¶
func AddImportToFile ¶
func Contains ¶
func Contains[T comparable](arr []T, elem T) bool
Contains checks if an element is present in a slice
func LocateUserFiles ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.