https://github.com/gregoryv/vars
Package vars provides copy functions for variables
https://github.com/gregoryv/vars
Last synced: 11 months ago
JSON representation
Package vars provides copy functions for variables
- Host: GitHub
- URL: https://github.com/gregoryv/vars
- Owner: gregoryv
- License: mit
- Created: 2021-07-23T07:13:42.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-31T16:33:05.000Z (almost 5 years ago)
- Last Synced: 2025-03-30T05:13:10.640Z (about 1 year ago)
- Language: Go
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- License: LICENSE
Awesome Lists containing this project
README
Package [vars](https://pkg.go.dev/github.com/gregoryv/vars) provides
copy functions for variables.
## Quick start
go get github.com/gregoryv/vars
## Usage
import github.com/gregoryv/vars
var (
i int
s string
)
_ = vars.Copy(
&i, 0,
&s, "hello",
)