Skip to content
/ sugar Public

sugar is a comprehensive, efficient, and reusable util function library of go

License

Notifications You must be signed in to change notification settings

phuhao00/sugar

Repository files navigation

sugar

sugar is a comprehensive, efficient, and reusable util function library of go

💡 Usage

You can import sugar using:

import (
    "github.com/phuhao00/sugar"
)

Then use one of the helpers below:

clamp := sugar.Clamp(2, 3, 5)
fmt.Printf("clamp:%v", clamp)

About

sugar is a comprehensive, efficient, and reusable util function library of go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages