interconv

module
v0.0.0-...-d7c7292 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2019 License: MIT

README

Interconv

Build Status Coverage Status Go Report Card GoDoc

Description

This is package golang for convert interface into any data type

How To Use

  • get package
go get github.com/mufti1/interconv/package
  • import
import "github.com/mufti1/interconv/package"
  • use
var i interface{}
// example for float64
// you can use error return if you need it
numFloat64 , _ := interconv.ParseFloat64(i)

Status

Completed and open to update

Data type that can be converted

  • Int
  • Int8
  • Int32
  • Int16
  • Int64
  • Float32
  • Float64
  • Boolean
  • String
  • Uint
  • Uint8
  • Uint16
  • Uint32
  • Uint64
  • Uintptr

License

it is released under the MIT license. See LICENSE.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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