goshared

module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT

README

goshared

This repository contains various go packages which any developer can import and consume.

  1. util package contains simple wrapper functions I found useful around Logging and Configuration management. These wrapper functions are around Lumberjack Rotating Logging and Cleanenv configuration management package from ilyakaznacheev. Initial tagged version is ready for consumption.

  2. executor package is bit ambitious. I come from Java Object Oriented Serverside coding background. Like most programmers, there are many things I like about Java and I miss those anytime I pickup to learn a new programming language. Java scheduler and thread pool executor framework is one such feature I like in Java. In this package I am working on developing a similar mechanism. As per experts, Go Lang has strong Concurrency Support. But it's philosophy is to remain 'bare metal'. Besides it is a young language compared to Java. I needed 'executor type functionality' in another of my copy-right protected project. I am sure Go Community would have many solid packages to address this need. But I wanted to take it as an exercise so as I understand Go Lang Concurrency as well as develop a building block exactly what I needed in another copy-right protected project. Hence the efforts.

Current status of this package - I have completed basic coding and few unit tests. Next is to add few longer duration tests and start using it in my production project to flush out any obivious defects.

Feel free to reach out to me (umesh409@yahoo.com) for:

  • how to use the code mentioned here, or
  • if you need any additional functionality in the current code. I will try my best to have it included.

Code is under MIT License, so it is least restrictive. (Please stick to 'master' branch which has working code while code in other branches is still under development and not ready for consumption.)

Have a look and enjoy!

Thanks for visiting!!!

Directories

Path Synopsis
Package executor contains basic implementation of an executor framework.
Package executor contains basic implementation of an executor framework.
Package util contains common functionality which is required by a typical server side any GO application.
Package util contains common functionality which is required by a typical server side any GO application.

Jump to

Keyboard shortcuts

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