carservice

package module
v0.0.0-...-9b4a50d Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: MIT Imports: 1 Imported by: 0

README

Go Demo Application - Car Service Booking webapp

This is a Go demo application for a talk I did on Go at the Google Developer Group Johannesburg meetup in August 2017.

Slides for the talk is here

This application uses standard Go, sqlite and go-sqlite3 driver (for database operations) and Materialize CSS for the CSS framework.

The demo is based on insights from the following articles/blogs:

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Booking

type Booking struct {
	ID                    int64     `json:"id"`
	CustomerName          string    `json:"customerName"`
	ContactNumber         string    `json:"customerNumber"`
	CarRegistrationNumber string    `json:"carRegistrationNumber"`
	CarMake               string    `json:"carMake"`
	CarModel              string    `json:"carModel"`
	Odometer              int       `json:"odoMeter"`
	ServiceDate           time.Time `json:"serviceDate"`
	BookingDate           time.Time
}

Booking is the domain model for handling bookings

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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