Skip to content

Commit 9c296dc

Browse files
authored
Update README.me
1 parent 3473de4 commit 9c296dc

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ func main() {
2323
//Returns the valid CNJ in string format
2424
vCNJ := Functions.ReturnValidCNJ(cnj)
2525
26-
//Returns a complex struct "AnalysisCNJ" with all the data in CNJ format; returns error if any step of the verification is faulted
26+
//Returns a complex struct "AnalysisCNJ" with all the data in CNJ format
27+
//returns error if any step of the verification is faulted
2728
aCNJ, err := CNJ_Validate.AnalyzeCNJ(cnj)
2829
Error.CheckError(err)
2930
@@ -39,4 +40,12 @@ func main() {
3940
}
4041
4142
```
43+
Output
44+
```
45+
O CNJ existe? false
46+
O dígito verificador correto: 84
47+
O CNJ correto seria: 1004144-84.2020.8.01.0037
48+
O cnj analisado: {1004144-88.2020.8.01.0037 false 1004144-84.2020.8.01.0037 84 Justiça dos Estados e do Distrito Federal e Territórios Justiça Comum foro de tramitação 0037 unidade federativa 1 {1004144 88 2020 8 01 0037 10041442020801003700}}
49+
Processo número: 1004144, ajuizado no ano de 2020, pertencente ao segmento da Justiça dos Estados e do Distrito Federal e Territórios (Justiça Comum), tendo como unidade de origem: foro de tramitação: 0037 | unidade federativa: 1
50+
```
4251

0 commit comments

Comments
 (0)