8000 GitHub - slclub/utils: collect some better function of golang
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

slclub/utils

Repository files navigation

utils

Collect some go functions with good performance and convenient.

like Stings and byte convertion. generator.

There is a better suggestion to match the validator package

Install

go get github.com/slclub/utils

function list

import("github.com/slclub/utils/bytesconv") 
  • common
    • IsUnix() bool
    • EOL
example:
  // linux "\n"
  // windows "\r\n"
  utils.EOL
example:
  if utils.IsUnix() {
    do something in unix
  } else {
    do something in windows.
  }

About

collect some better function of golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0