module

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GO

func GO(log *zap.Logger)

todo Временный метод для отдладки

func SHA1

func SHA1(text string) string

Получение sha-1 строки из строки

func SHA256file

func SHA256file(filePath string) string

Получение контрольной суммы файла

func ValidFileName

func ValidFileName(name string, maxLength int) string

Получение валидного имени файла

Types

type EditPointObj

type EditPointObj struct {
	// contains filtered or unexported fields
}

Обьект точки изменения

type HistoryFallObj

type HistoryFallObj struct {
	// contains filtered or unexported fields
}

func AutoInit

func AutoInit(dir string) HistoryFallObj

Инициализация класса historyFall с автоматическим запуском логов

func Init

func Init(log *zap.Logger, dir string) HistoryFallObj

Инициализация класса работы с historyFall

func (HistoryFallObj) DecodeStoryVector

func (obj HistoryFallObj) DecodeStoryVector(comparison *string) []EditPointObj

Трансформация строчного вектора изменений в массив точек изменений

Jump to

Keyboard shortcuts

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