07_errors/

directory
Version: 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

Lab 7 - Errors

  • Create an executable go program in directory 07_errors/USERNAME

  • Copy the CRUD puppy from upstream master 06_puppy/USERNAME

  • Add a custom error type Error with fields Message and Code

  • Extend the Storer interface for all methods to also return error

  • Create errors for:

      - Value < 0
      - ID not found in Read, Update and Delete
    
  • Add locking for proper use of sync.Map

  • Bonus points: Add a third Storer implementation using leveldb

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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