Go-SwissKnife

module
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: Apache-2.0

README

Go-SwissKnife Go Reference

Description

Go-SwissKnife is a utility libraries that is include with interface and mock for speed up the development and testing of the golang app development

How To Use

  1. Look to the interfaces folder for any package that you want to use
  2. use the interface as the struct property or the function/method params
  3. called the constructor when you want to use to inject the instance to the struct property or function/method params
  4. use the mocks folder when you do unit testing of your code

Dependencies

The following library is use as dependenciee:

  1. https://github.com/vburenin/ifacemaker
  2. https://github.com/uber-go/mock

Directories

Path Synopsis
mocks
Code generated by MockGen.
Code generated by MockGen.
mocks
Code generated by MockGen.
Code generated by MockGen.
env
mocks
Code generated by MockGen.
Code generated by MockGen.
mocks
Code generated by MockGen.
Code generated by MockGen.
log
mocks
Code generated by MockGen.
Code generated by MockGen.
mocks
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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