entity

package
v0.0.0-...-e754585 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TxFile

type TxFile struct {
	// ID is the ID of the file.
	Name string
	// Path is the path of the file.
	Path string
	// Hash is the hash of the file.
	Hash string
	// Lines is the number of lines in the file.
	Lines int64
}

File struct defines the file entity.

func NewTxFile

func NewTxFile(name, path, hash string, lines int64) (file *TxFile)

NewTxFile returns a new TxFile instance.

Jump to

Keyboard shortcuts

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