golibs

module
v0.0.0-...-0871eb3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: MIT

README

golibs

Build Status Coverage Status Go Report Card codebeat badge Codacy Badge MIT License

Golang libraries

requirement

golang version is limited some packages.

  • [log] only version 1.5+

libraries

■ algorithm
  • For indivisual study. (It works in progress.)

■ auth
jwt
  • authentication by JWT (Json Web TOken)

■ cast
  • for now, cast byte to string mutually.

■ cipher
encryption
  • For encryption.
hash
  • For hash.

■ compress
  • For compress string data.

■ config
  • For config settings from toml file.

■ db
boltdb
  • For check how to use boltdb package.
cache
  • Cache result of query on MySQL to Redis. (It works in progress.)
cassandra
  • Handling Cassandra.
gorm
  • Handling RDB usign gorm package. For check.
gorp
  • Handling RDB usign gorp package. For check.
mongodb
  • Handling MongoDB.
mysql
  • Handling MySQL.
postgresql
  • Handling PostgreSQL. (It's not started to develop yet.)
redis
  • Handling Redis.
textindex
  • For check how to use textindex package. (It's not started to develop yet.)

■ files
  • For finding specific file in directories.

■ goroutine
  • It's to control how many goroutine can be run at a time.

■ heroku
  • Heroku related library.

■ log
  • logger. It can control loglevel in files and stdout respectively
  • only version 1.5 or later.

■ mail
  • Send mail. (It works in progress.)

■ messaging
kafka
  • Handling Apache kafka
nats
  • Handling NATS
rabbitmq
  • Handling RabbitMQ.

■ os
  • For util feature using "os" package.

■ reflects
  • For check how to use "reflect" package.

■ regexp
  • For search string to use "regexp" package.

■ runtimes
  • It's just check how to use "runtime" package.

■ serial
  • Serialize each Type to binary data.

■ signal
  • Control signal to check where goroutine stop.

■ testutil
  • Utility for test packages.

■ time
  • For time related library.

■ tmpl
  • It's just check how to use "template/text" package.

■ utils
  • For useful funcs like handling slice, interface, type and so on.

■ validator
  • To check variable.

■ web
■ context
  • For context. (It's not started to develop yet.)

■ session
  • Control session on the web. (It works in progress.)
  • For retrieving cookie from Chrome On linux environment, install libsecret-tools
sudo apt install libsecret-tools

libraries (example)

■ example
  • These packages are for just check
■ defaultdata
  • For check how nil is treated in each Type through Test.
  • And how each type is treated on Interface{} type.

■ draw
  • For drawing library. (It's not started to develop yet.)

■ exec
  • For check how to use "os/exec" package.

■ flag
  • For check how to use "flag" package.

■ http
  • It's just check how to use "net/http" package. (It works in progress.)

■ join
  • For check which way is most efficient to join strings on testing package.

■ json
  • For check how to use "json" package.

■ xml
  • For handling xml.

Directories

Path Synopsis
auth
jwt
Package jwt is authentication by JWT
Package jwt is authentication by JWT
Package cast is just sample
Package cast is just sample
cipher
db
example
defaultdata
Package defaultdata is just sample for check about what is default data
Package defaultdata is just sample for check about what is default data
exec
Package exec is just sample
Package exec is just sample
flag
Package flag is just sample
Package flag is just sample
http
Package http is just sample
Package http is just sample
join
Package join is just sample check join_test.go
Package join is just sample check join_test.go
json
Package json is just sample
Package json is just sample
xml
Package xml is just sample check xml_test.go
Package xml is just sample check xml_test.go
sub
grpc
log
zap
messaging
pdf
cmd
Package testutil is utility for test
Package testutil is utility for test
cmd
web
workinprogress
aws

Jump to

Keyboard shortcuts

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