Documentation

Overview

    Package utils provides useful utilities

    Example

      This example shows how to use the utilities

      Output:
      
      

      Source Files

      Directories

      Path Synopsis
      Package cmap provides concurrent map
      Package cmap provides concurrent map
      Package copier provides utility that copy element between structs
      Package copier provides utility that copy element between structs
      Package crypto provides crypto encryption/decryption utilities
      Package crypto provides crypto encryption/decryption utilities
      aes
      Package aes provides aes encryption/decryption utilities
      Package aes provides aes encryption/decryption utilities
      base64
      Package base64 provides base64 encryption/decryption utilities
      Package base64 provides base64 encryption/decryption utilities
      md5
      Package md5 provides md5 encryption utilities
      Package md5 provides md5 encryption utilities
      rsa
      Package rsa provides rsa encryption/decryption utilities
      Package rsa provides rsa encryption/decryption utilities
      Package gotest provides function to check whether is running in go test mode.
      Package gotest provides function to check whether is running in go test mode.
      Package idgen provides unique id generation utilities that use twitter's snowflake algorithm
      Package idgen provides unique id generation utilities that use twitter's snowflake algorithm
      Package io provides file or directory io utilities.
      Package io provides file or directory io utilities.
      Package mapstruct provides utilities that decode map and inject values into struct
      Package mapstruct provides utilities that decode map and inject values into struct
      Package reflector provides utilities for reflection
      Package reflector provides utilities for reflection
      Package replacer provides utilities that replace the reference and environment variables with its value
      Package replacer provides utilities that replace the reference and environment variables with its value
      Package sort provides utility that sort slice by length
      Package sort provides utility that sort slice by length
      Package str provides enhanced string utilities
      Package str provides enhanced string utilities
      package structtag provides struct tag utils (from https://github.com/fatih/structtag)
      package structtag provides struct tag utils (from https://github.com/fatih/structtag)
      Package validator provides data validation utilities
      Package validator provides data validation utilities