go-foxpro-dbf | Golang package for reading XBase FoxPro DBF/FPT files

 by   SebastiaanKlippert Go Version: v1.1.2 License: MIT

kandi X-RAY | go-foxpro-dbf Summary

kandi X-RAY | go-foxpro-dbf Summary

go-foxpro-dbf is a Go library. go-foxpro-dbf has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Golang package for reading XBase FoxPro DBF/FPT files
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              go-foxpro-dbf has a low active ecosystem.
              It has 49 star(s) with 19 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 4 have been closed. On average issues are closed in 32 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of go-foxpro-dbf is v1.1.2

            kandi-Quality Quality

              go-foxpro-dbf has 0 bugs and 0 code smells.

            kandi-Security Security

              go-foxpro-dbf has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              go-foxpro-dbf code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              go-foxpro-dbf is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              go-foxpro-dbf releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.
              It has 1227 lines of code, 86 functions and 6 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed go-foxpro-dbf and discovered the below as its top functions. This is intended to give you an instant insight into go-foxpro-dbf implemented functionality, and help decide if they suit your requirements.
            • OpenFile opens a DBF using the provided decoder .
            • readHeaderFields reads the header fields from an io . ReadSeeker
            • prepareDBF prepares a DBF struct .
            • OpenStream opens a DBF file .
            • RecordToJSON converts nrec to JSON .
            • readDBFHeader reads a DBFHeader from an io . ReadSeeker .
            • readFPTHeader reads FPTHeader from an io . ReadSeeker .
            • validFileVersion returns nil if the version is valid .
            • ToString converts in to string
            • ToTrimmedString converts an interface to a string
            Get all kandi verified functions for this library.

            go-foxpro-dbf Key Features

            No Key Features are available at this moment for go-foxpro-dbf.

            go-foxpro-dbf Examples and Code Snippets

            Example
            Godot img1Lines of Code : 77dot img1License : Permissive (MIT)
            copy iconCopy
            func Test() error {
            	// Open file
            	testdbf, err := dbf.OpenFile("TEST.DBF", new(dbf.Win1250Decoder))
            	if err != nil {
            		return err
            	}
            	defer testdbf.Close()
            
            	// Print all the fieldnames
            	for _, name := range testdbf.FieldNames() {
            		fmt.Println(name  
            Example using a byte reader
            Godot img2Lines of Code : 29dot img2License : Permissive (MIT)
            copy iconCopy
            func TestBytes() error {
            	
            	dbfbytes, err := ioutil.ReadFile("TEST.DBF")
            	if err != nil {
            		return err
            	}
            	dbfreader := bytes.NewReader(dbfbytes)
            
            	fptbytes, err := ioutil.ReadFile("TEST.FPT")
            	if err != nil {
            		return err
            	}
            	fptreader := bytes.NewR  

            Community Discussions

            No Community Discussions are available at this moment for go-foxpro-dbf.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install go-foxpro-dbf

            You can download it from GitHub.

            Support

            At this moment not all FoxPro field types are supported. When reading field values, the value returned by this package is always interface{}. If you need to cast this to the correct value helper functions are provided.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/SebastiaanKlippert/go-foxpro-dbf.git

          • CLI

            gh repo clone SebastiaanKlippert/go-foxpro-dbf

          • sshUrl

            git@github.com:SebastiaanKlippert/go-foxpro-dbf.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Go Libraries

            go

            by golang

            kubernetes

            by kubernetes

            awesome-go

            by avelino

            moby

            by moby

            hugo

            by gohugoio

            Try Top Libraries by SebastiaanKlippert

            go-wkhtmltopdf

            by SebastiaanKlippertGo

            go-soda

            by SebastiaanKlippertGo

            go-wkhtmltopdf-lambda

            by SebastiaanKlippertGo

            lambda-ses-forwarder

            by SebastiaanKlippertGo

            aws-beanstalk-sqs-daemon

            by SebastiaanKlippertGo