Skip to content

bowoBp/baseProject-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Setup

  1. Install Go version 1.19
  2. Install Mockery version v2.13 or later
  3. Use GoLand (recommended)
  4. Download dependencies with command go mod download
  5. Create .env file based on .env.example

Run

Use this command to run API app from root directory:

go run app/api/api.go

Use this command to run consumer app from root directory:

go run app/consumer/consumer.go

Use this command to run scheduler app from root directory:

go run app/scheduler/scheduler.go

Unit Tests

Generate Mocks

To generate mock, run:

mockery --all --keeptree --case underscore --with-expecter

Run Unit Tests

To run unit tests:

go test ./...

TODO README

This README would normally document whatever steps are necessary to get your application up and running.

What is this repository for?

How do I get set up?

  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
  • Deployment instructions

Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages