Skip to content

golang capabilities were explored to understand the build components necessary to build a general REST API that connects to and updates DB entries.

Notifications You must be signed in to change notification settings

mfturra/go-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿข go-practice

๐Ÿ› ๏ธ Tools

Go Language

๐Ÿ“š Go Libraries

  • Google Go UUID
  • pq: Pure Go postgres driver for Go's database/sql package

๐Ÿ“‹ Briefing

go language capabilities were explored to evaluate the integration requirements of building a functioning web app.

Workflow Considerations

  1. Connection should be established to local PostgreSQL and successful output message should generate when connection is established.
    • If connection is attempted but isn't made to DB, then an error message should be generated.
  2. Additional entries to the DB's table should produce a new UUID.
  3. Duplicate queries should be deleted from the DB's table. Success output message will be generated upon deletion of duplicate entries.
    • Error output message will be generated if there's an unsuccessful deletion of any duplicate entries.
  4. DB connection will close after performing the necessary actions.

About

golang capabilities were explored to understand the build components necessary to build a general REST API that connects to and updates DB entries.

Resources

Stars

Watchers

Forks

Languages