https://github.com/praveen1664/simplegoexample
The file is the core of the repo which ontains a simple go api which provides a response in true/ false whether the date ranges posted to this api are overlaping or not
https://github.com/praveen1664/simplegoexample
golang makefile shell
Last synced: 2 months ago
JSON representation
The file is the core of the repo which ontains a simple go api which provides a response in true/ false whether the date ranges posted to this api are overlaping or not
- Host: GitHub
- URL: https://github.com/praveen1664/simplegoexample
- Owner: praveen1664
- Created: 2024-01-21T17:55:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T19:02:16.000Z (over 2 years ago)
- Last Synced: 2025-06-13T21:07:19.433Z (about 1 year ago)
- Topics: golang, makefile, shell
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoExampleAssignment
## The repo contains the following stuff
## main.go
The file is the core of the repo which ontains a simple go api which provides a response in true/ false whether the date ranges posted to this api are overlaping or not.
## interface.sh
You need to run this file to test this api. Please share your dte ranges in below input format
# Date Range Overlap Checker CLI
# Range 1 Start (YYYY-MM-DDTHH:MM:SSZ): 2024-01-21T12:00:00Z
# Range 1 End (YYYY-MM-DDTHH:MM:SSZ): 2024-01-21T18:00:00Z
# Range 2 Start (YYYY-MM-DDTHH:MM:SSZ): 2024-01-21T15:00:00Z
# Range 2 End (YYYY-MM-DDTHH:MM:SSZ): 2024-01-21T20:00:00Z
## Makefile
This is the makfile used to compile the code.
## Githubactions workflow
GitHub Actions workflow triggers on pushes to the main branch, checks out the repository, sets up Go, and then runs the make build command.