Categorygithub.com/whitecubeinc/go-utils
modulepackage
1.0.6
Repository: https://github.com/whitecubeinc/go-utils.git
Documentation: pkg.go.dev

# README

Using Packages

  • golangci-lint
    • install curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.3
    • run golangci-lint run
    • skip lint git commit -m [message] --no-verify
  • Pre-commit

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
gocyclo:ignore.
BindStringTemplateByMap key in string format = {{.key}}.
BindStringTemplateByStruct key in string format = {{.Key}}.
BindStringTemplateByStructWithFuncMap ex) funcMap := map[string]any { "formatDate": func(t time.Time){ return t.Format(time.DateOnly)}, } {{formatDate .Key}} */.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DivideMapPerSize value 끼리 순서 보장 X.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FormatKoreanCurrency 숫자 -> 한국 금액 표기법으로 변경.
No description provided by the author
No description provided by the author
No description provided by the author
GetDifferenceSet 차집합, set1 - set1.
No description provided by the author
GetIntersectionSet 교집합.
No description provided by the author
No description provided by the author
GetMapKeys Key 순서 보장 X.
GetMapValues Value 순서 보장 X.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Log default logger.
No description provided by the author
No description provided by the author
No description provided by the author
MapValue 순서보장 O, 중복 제거 X.
MapValueFilter 순서보장 getValue 에서 조건에 만족하지 않으면 nil 리턴.
MapValueUnique 중복 제거 O, 순서 보장 O.
No description provided by the author
No description provided by the author
NewConstantFromTag tag key = value , string only.
No description provided by the author
NewStringEnum strings.ToUpper, strings.ToLower 및 strcase.ToXXX 사용.
No description provided by the author
No description provided by the author
Post
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Struct2MWithCase string case function 으로 key 값을 변경하여 반환.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author