Documentation ¶
Overview ¶
Пакет для чтения файлов
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSimpleConfigYAML ¶
func GetSimpleConfigYAML(fileName string) (*models.ConfigStruct, error)
Читаем файл с конфигом в формате YAML. Возвращает структуру указатель на структуру конфига models.SimpleConfigYAML и ошибку
func GetTextFromFile ¶
Открытие файла на чтение Возвращает массив байтов прочитанного файла и ошибку.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.