github.com/satumedishub/go-modules


License
MIT
Install
go get github.com/satumedishub/go-modules

Documentation


Platforms license

Code of Conduct Support Contribution


Project Template

Please add project description here.

Contributor Covenant

Github Actions

Table of Contents

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  • Git installation (Dude, please...)

    • Run this command:
      apt-get -y install git
      Or
      yum -y install git
  • golang-ci is one of the IMPORTANT packages. Any developer who will maintain this project should install it. The installation command is as follows:

    go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2
  • Everytime the code is updated, please run following command:

    golangci-lint run ./...
    • Whenever you get RED colored logs, means that YOU ARE ABSOLUTELY need to fix that before finalize your work (e.g. Make a PR)
      • An example of an error log:
        pkg/router/handlers/user.go:19:6: `xxx` is unused (deadcode)
        type xxx struct {
             ^
    • The only log that can be ignored is the WARN, such as:
      WARN [linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649.

Installation

  • TO BE ADDED

Development

  • Release 1.0 : Not Available Yet.

Usage

  • TO BE ADDED

Configurations

  • TO BE ADDED

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Looking to contribute to our code but need some help? There's a few ways to get information:

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Misc

  • Golang CI Lint
    • Installation command:
        go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.46.2
      
    • Usage: golangci-lint run <folderName>
      • Example 1: golangci-lint run cmd/...
      • Example 2: golangci-lint run pkg/...

Copyright © 2022 Private use in within the SatuMedis Development Team. All Rights Reserved.