Skip to content

arehmandev/full-stack-go-

 
 

Repository files navigation

full-stack-go-

Torun the server on your system:

Make sure you have dep installed

  1. Run dep ensure to install dependencies
  2. Run go build to create the binary (blog_example__go_web_db)
  3. Run the binary : ./blog_example__go_web_db

To run tests:

  1. Run dep ensure to install dependencies
  2. Run go test ./...

Create the birds table before running the application :

create table birds (
  id serial primary key,
  bird varchar(256),
  description varchar(1024)
);

Before running the application, edit the connString variable inside the main function to specify your postgres database connection

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 87.4%
  • HTML 12.6%