/to

Primary LanguageGoMIT LicenseMIT

to

A simple packages for golang that provides single function Do that can avoids declared but not used error.

Usage

import "github.com/wirekang/to"

to.Do(v1,v2...)

Example

var unusedvar int

to.Do(unusedvar)

Also you can use it for easy debuging.

image