mogo

module
v0.64.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: MIT

README

MoGo

Build Status Go Report Card CodeClimate Docs SLOC License

Overview

The mogo (pronounced "Mo Go" for "More Go") package provides a collection of Go utilities for common tasks.

Go is a small language which is useful from a development and maintenance perspective but it can result in common tasks being more verbose than other languages where there are more productivity methods. The mogo package's goal is to provide wrappers for common tasks in the same spirit of io/ioutil to make programming Go a bit faster.

In terms of scope, mogo is designed to cover all common areas, with a move to fewer dependencies.

mogo is in a deconstruction phase. It currently has many dependencies and the goal is to move external dependences to separate packages in the Mogo family.

See the following modules for extended functionality (with more dependencies):

Documentation

Documentation is provided using godoc and available on GoDoc.org.

Installation

$ go get github.com/grokify/mogo/...

SBOM

The SBOM is in the file [SBOM.spdx.json]. It is created using GitHub's built-in SBOM feature with the following additions:

  1. It is converted to indented JSON for easier reading.
  2. The packages[0].downloadLocation value as the commit hash added per https://spdx.github.io/spdx-spec/v2.3/package-information/.

Credits

See CREDITS

Contributing

Features, Issues, and Pull Requests are always welcome.

To contribute:

  1. Fork it ( http://github.com/grokify/mogo/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Please report issues and feature requests on Github.

Directories

Path Synopsis
archive
audio
bytes
compress
crypto
aesutil
aesutil provides AES crypto utilities including writing and reading AES encrypted files
aesutil provides AES crypto utilities including writing and reading AES encrypted files
hmacutil
hmacutil provides HMAC utility functions.
hmacutil provides HMAC utility functions.
md5util
md5util supports MD5 hashes in various formats.
md5util supports MD5 hashes in various formats.
data
sql
encoding provides generic encoding support.
encoding provides generic encoding support.
base10
base10 supports Base10 encoding.
base10 supports Base10 encoding.
base36
base36 supports Base36 encoding and decoding.
base36 supports Base36 encoding and decoding.
base62
base62 supports Base62 encoding and decoding.
base62 supports Base62 encoding and decoding.
base64
base64 supports Base64 encoding and decoding.
base64 supports Base64 encoding and decoding.
guid
encoding/guid supports encoding and decoding Guid values.
encoding/guid supports encoding and decoding Guid values.
errors
examples
cp
fmt
fmtutil
Package fmtutil implements some formatting utility functions.
Package fmtutil implements some formatting utility functions.
git
html
image
io
log
logutil
logutil provides logging utility functions which are useful for decreasing lines of code for simple error logging.
logutil provides logging utility functions which are useful for decreasing lines of code for simple error logging.
severity
severity provides syslog-type severity level handling.
severity provides syslog-type severity level handling.
math
mime
multipartutil
Package multipartutil provides helper functionality for using multipart.Writer.
Package multipartutil provides helper functionality for using multipart.Writer.
ml
net
os
osutil
Package osutil implements some OS utility functions.
Package osutil implements some OS utility functions.
path
pointer package provides some pointer shortcuts.
pointer package provides some pointer shortcuts.
reflect
regexp
sort
strconv
time
timeutil
timeutil provides a set of time utilities including comparisons, conversion to "DT8" int32 and "DT14" int64 formats and other capabilities.
timeutil provides a set of time utilities including comparisons, conversion to "DT8" int32 and "DT14" int64 formats and other capabilities.
timezone
timezone is a static list of timezones.
timezone is a static list of timezones.
timezone/examples/build_constants
main this code was sourced from Stack Overflow here: https://stackoverflow.com/a/40130882/1908967
main this code was sourced from Stack Overflow here: https://stackoverflow.com/a/40130882/1908967
type
unicode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL