All Projects → saefullohmaslul → golang-example

saefullohmaslul / golang-example

Licence: other
⚡ Golang Clean Boilerplate

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to golang-example

jaymock-cli
Mock an API and generate fake JSON test data, right from the terminal.
Stars: ✭ 13 (-13.33%)
Mutual labels:  test
instapy-docs
📜 Public information for users, testers, contributors, maintainers
Stars: ✭ 60 (+300%)
Mutual labels:  test
qiniutest
Qiniu httptest tool: qiniutest
Stars: ✭ 36 (+140%)
Mutual labels:  test
xv
❌ ✔️ zero-config test runner for simple projects
Stars: ✭ 588 (+3820%)
Mutual labels:  test
kotlin-plugin-generated
A Kotlin compiler plugin that annotates Kotlin-generated methods for improved coverage reports
Stars: ✭ 33 (+120%)
Mutual labels:  test
goverreport
Command line tool for coverage reporting and validation
Stars: ✭ 44 (+193.33%)
Mutual labels:  test
dojos
Alguns desafios para os participantes dos grupos de estudo
Stars: ✭ 33 (+120%)
Mutual labels:  test
Selenium-Document
a document with regard to selenium
Stars: ✭ 285 (+1800%)
Mutual labels:  test
NanoTest
NanoTest is a light weight test library. Its API is similar to the haxe.unit testing framework, but it can run as pre-compilation macro and can output test failures as compiler warnings or errors.
Stars: ✭ 14 (-6.67%)
Mutual labels:  test
power-doctest
JavaScript Doctest for JavaScript, Markdown and Asciidoc.
Stars: ✭ 45 (+200%)
Mutual labels:  test
xray-action
... a GitHub action to import test results into "Xray" - A complete Test Management tool for Jira.
Stars: ✭ 16 (+6.67%)
Mutual labels:  test
difflicious
Scala library for readable diffs of values
Stars: ✭ 50 (+233.33%)
Mutual labels:  test
colortest
Quickly show all your terminal colors
Stars: ✭ 66 (+340%)
Mutual labels:  test
demos
永恒君的案例库
Stars: ✭ 19 (+26.67%)
Mutual labels:  test
goverage
go test -coverprofile for multiple packages
Stars: ✭ 87 (+480%)
Mutual labels:  test
BaseUrlManager
⛵ BaseUrlManager的设计初衷主要用于开发时,有多个环境需要打包APK的场景,通过BaseUrlManager提供的BaseUrl动态设置入口,只需打一次包,即可轻松随意的切换不同的开发环境或测试环境。在打生产环境包时,关闭BaseUrl动态设置入口即可。
Stars: ✭ 43 (+186.67%)
Mutual labels:  test
local-data-api
Data API for local, you can write unittest for AWS Aurora Serverless's Data API
Stars: ✭ 99 (+560%)
Mutual labels:  test
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (+33.33%)
Mutual labels:  test
Hitchhiker-Node
Stress test node for Hitchhiker
Stars: ✭ 18 (+20%)
Mutual labels:  test
action-junit-report
Reports junit test results as GitHub Pull Request Check
Stars: ✭ 103 (+586.67%)
Mutual labels:  test

Go

Golang Clean Boilerplate

Requirements

Feature

  • Clean code
  • Docker and docker-compose
  • ORM with gorm
  • Unit testing

Setup

Building and running the dockerized codebase

  1. Clone the repository.

  2. Build all containers using docker-compose build --no-cache.

  3. Run all containers using docker-compose up.

    Notes: When running docker compose, it will create new volume(s). If change(s) are made to package.json, it won't be detected by the container. I recommend:

    • To remove the volume docker volume prune, or
    • Update package manually by doing docker exec -it <container id> sh and npm install

    I use the --no-cache flag so that new npm packages gonna be installed.

    Tips:

    • Use --build in docker-compose to force update the docker image created, e.g. docker-compose up --build
  4. The docker and docker compose will setup all requirements on the fly, and please provide coffee as this may take a few minutes.

  5. If have finished it, that means you can use this server with all databases and data ready to use.

Cleaning up

  1. When you're done, Ctrl-C in the main docker-compose up window to terminate the running processes.

  2. Run docker-compose down to stop and remove containers.

Develop By


Saefulloh Maslul

License

Copyright (c) 2021 Saefulloh Maslul All rights reserved.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].