myreader

package
v0.0.0-...-7b38f86 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 6 Imported by: 0

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

func GetTextFromFile(path string) ([]byte, error)

Открытие файла на чтение Возвращает массив байтов прочитанного файла и ошибку.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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