alfarih31 / nb-go-parser

Noob Go Parser (nb-go-parser) is a tools to parse primitive types in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Noob-Parser

Go Reference GitHub go.mod Go version (subdirectory of monorepo) GitHub release (latest by date)

Noob Parser is a tools to parser Primitive types, such as:

  • String masking
  • Cast String to Array of String
  • Cast String to Array of Int
  • Cast String to Bool & Vice Versa
  • Cast String to Int & Vice Versa
  • Cast Int to Bool & Vice Versa
  • Cast []int32 to []int & Vice Versa
  • Cast []int64 to []int & Vice Versa

Contents

Installation

To install this package, you need to install Go (version 1.17+ is required) & initiate your Go workspace first.

  1. After you initiate your workspace then you can install this package with below command.
go get -u github.com/alfarih31/nb-go-parser
  1. Import it in your code
import "github.com/alfarih31/nb-go-parser"

Quick Start & Usage

See the test:

Contributors

License

This project is licensed under the - see the LICENSE.md file for details

About

Noob Go Parser (nb-go-parser) is a tools to parse primitive types in Go

License:MIT License


Languages

Language:Go 100.0%