payouts-service-interview

command module
v0.0.0-...-bdcecf1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: MIT Imports: 8 Imported by: 0

README

Payout service

Payout service is responsible for creating payout information in the database. Payouts are created after booking is made and tenant paid the amount to advertiser. Several payouts for the same booking could be created, for example the booking price, deposit and utilities.

Language Preference

The code is written on Go. If you prefer other language, you can rewrite it on the language of your own. The repository utilizes SQLite, if you decide to create your own implementation, use it as well. You can use the SQL queries from repo.go.

Purpose

This is a simple repository that reads the data from the file and write it to the local database. You will be asked to do some modifications for this code during the interview. Please have it (or your version) prepared on your machine before the interview.

How to run

  • Clone repository
  • Install Golang on your machine
  • Run go get ./... to load the dependencies
  • Run go run .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL