Skip to content

night-codes/golang-site-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang example site

Example represent small site with admin-panel.

Requirements

Go 1.11 or above.

Installation

Run the following command to get the sources:

git clone https://github.com/night-codes/golang-site-example
cd golang-site-example
go get -u

Start the application:

go run .

Now the application runned on address http://localhost:8080/.

Admin Panel

You can found the admin panel by address http://localhost:8080/admin/. Username/Password: admin secret