Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.13 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.13 KB

typeconv

Easy and safe type converting from one pointer to value & value to pointer in Go

Jump To:

Getting Started

Installing

Use go get to retrieve the pkg to add it to your GOPATH workspace, or project's Go module dependencies.

go get github.com/mdsohelmia/typeconv

To update the pkg use go get -u to retrieve the latest version of the pkg.

   go get -u github.com/mdsohelmia/typeconv

Quick Examples

 package main

import (
	"fmt"

	"github.com/mdsohelmia/typeconv"
)

func main() {
	boolPtr := typeconv.Bool(true)
	fmt.Println(boolPtr)
	boolValue := typeconv.BoolValue(boolPtr)
	fmt.Println(boolValue)
}

Contributing

We work hard to provide a high-quality and useful SDK for our AWS services, and we greatly value feedback and contributions from our community. Please review our contributing guidelines before submitting any [issues] or [pull requests][pr] to ensure we have all the necessary information to effectively respond to your bug report or contribution.