ClassifierDatabase

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNJData added in v1.4.0

type CNJData struct {
	IdItem      string
	IdItemUpper string
	Type        rune
	Name        string
	Status      rune
}

CNJData struct that reflects the CNJ database struct compose by:

idItem: the id on cnj table
idItemUpper the upper id of idItem (can be NULL)
type: is a rune that define the type of cnj data:
 - 'D' for data classified as Documents
 - 'M' for data classified as Movements
 - 'C' for data classified as Class
 - 'A' for data classified as Subjects
 name: the name of CNJ category
 status: the item status:
 - 'A' for iten's still being used for CNJ
 - 'I' for iten's there are no longer used by CNJ

func FetchCNJ

func FetchCNJ(normalizedSearchName string, databaseType rune) ([]CNJData, error)

FetchCNJ returns []CNJData searching on docCNJDatabase or subjectCNJDatabase

Jump to

Keyboard shortcuts

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