package
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Feb 8, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package fileutil provides utility functions related to files.
Append appends content to a file
FileExists checks if a given file exists.
MustReadFile reads a given config file and returns the content. If an error
occurs mytoken terminates.
ReadConfigFile checks if a file exists in one of the configuration
directories and returns the content. If no file is found, mytoken exists.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.