gocnab | gocnab implements encoding and decoding of CNAB
kandi X-RAY | gocnab Summary
kandi X-RAY | gocnab Summary
gocnab is a Go library. gocnab has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
gocnab implements encoding and decoding of CNAB (Centro Nacional de Automação Bancária) data as defined by FEBRABAN. When marshaling it is possible to inform a struct, that will generate 1 CNAB line, or a slice of struct to generate multiple CNAB lines. On unmarshal a pointer to a struct, a pointer to a slice of struct or a mapper (map[string]interface{} for a full CNAB file) should be used. The library use struct tags to define the position of the field in the CNAB content [begin,end). It supports the basic attribute types string (uppercase and left align), bool (represented by 1 or 0), int, int8, int16, int32, int64, uint, uint8, uint16, uint23, uint64, float32 and float64 (decimal separator removed). And for custom types it is possible to implement gocnab.Marshaler, gocnab.Unmarshaler, encoding.TextMarshaler and encoding.TextUnmarshaler to make full use of this library.
gocnab implements encoding and decoding of CNAB (Centro Nacional de Automação Bancária) data as defined by FEBRABAN. When marshaling it is possible to inform a struct, that will generate 1 CNAB line, or a slice of struct to generate multiple CNAB lines. On unmarshal a pointer to a struct, a pointer to a slice of struct or a mapper (map[string]interface{} for a full CNAB file) should be used. The library use struct tags to define the position of the field in the CNAB content [begin,end). It supports the basic attribute types string (uppercase and left align), bool (represented by 1 or 0), int, int8, int16, int32, int64, uint, uint8, uint16, uint23, uint64, float32 and float64 (decimal separator removed). And for custom types it is possible to implement gocnab.Marshaler, gocnab.Unmarshaler, encoding.TextMarshaler and encoding.TextUnmarshaler to make full use of this library.
Support
Quality
Security
License
Reuse
Support
gocnab has a low active ecosystem.
It has 18 star(s) with 4 fork(s). There are 3 watchers for this library.
It had no major release in the last 6 months.
gocnab has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of gocnab is current.
Quality
gocnab has no bugs reported.
Security
gocnab has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
gocnab is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
gocnab releases are not available. You will need to build from source code and install.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed gocnab and discovered the below as its top functions. This is intended to give you an instant insight into gocnab implemented functionality, and help decide if they suit your requirements.
- unmarshalField unmarshals field into v .
- marshalField is the same as MarshalField .
- marshal encodes v to CSV .
- marshalLine marshals v to a single line .
- unmarshalMapper unmarshals cnab line to mapper .
- unmarshalStruct decodes data into v .
- marshalStruct marshals data into v .
- parseCNABFieldTag parses the cnab field tag .
- Unmarshal parses the given data and stores the result in v .
- unmarshalSlice unmarshals a slice into v .
Get all kandi verified functions for this library.
gocnab Key Features
No Key Features are available at this moment for gocnab.
gocnab Examples and Code Snippets
No Code Snippets are available at this moment for gocnab.
Community Discussions
No Community Discussions are available at this moment for gocnab.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gocnab
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page