Skip to content

vinbyte/go-time-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is simple Go REST API to reproduce error when accessing mysql time data type using mysql driver. Read my explanation here :

How to run

With docker

  • Run your docker
  • Clone this repo
  • Run cd go-time-error/after or cd go-time-error/before
  • Linux or macOS : run make start for starting application and make stop for stopping application
  • Windows : docker-compose up -d && docker image prune for starting application and docker-compose down for taking it down.

Without docker

  • Clone this repo
  • Make sure latest version of Golang is installed and setup properly
  • Mysql installed
  • Create your database and you can import prepare_shift.sql
  • Run cd go-time-error/after or cd go-time-error/before
  • Modify the config.yaml file
  • Run go run main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published