kasunfdo/

directory
v0.0.0-...-cf576ff Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0

README

Puppy Store - An in-memory store for puppies

Overview

Puppy Store is a simple in-memory store for Puppy objects. Puppy Store is implemented with CRUD methods for creating, reading, updating, and deleting puppies in puppy store.

Prerequisites

Build, execute, test, lint

Build
go build -o puppystore cmd/puppy-server/main.go
Execute
./puppystore
Test
go test ./...
Format and lint
gofmt -w .
goimports -w .
golangci-lint run
Review unit test coverage
go test -coverprofile=coverage.out ./... && go tool cover -html=coverage.out

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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