Skip to content

Golang is used for many areas and in this case is working as a webserver and the web app with templates

Notifications You must be signed in to change notification settings

whatafunc/golang-wiki-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url] [![LinkedIn][linkedin-shield]][linkedin-url]


Logo

WiKi website powered by Golang that uses templates

Got inspired by the following article in the go docs:
Go lang dev docs »
and when noticed this Question on Stack Overflow How can I use multiple html templates (ie. have a base template or footer template) in Go? »

View Demo by compiling this code and get in touch:

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Golang is used for many areas and in this case is working as a webserver and the web app with templates

(back to top)

Built With

  • [![go][go.dev]][golang-url]

(back to top)

Getting Started

Just use this repo and start it locally

Prerequisites

  • bash
    git clone https://github.com/whatafunc/golang-wiki-website.git
    go run filetest.go 
    

Installation

  1. install git
  2. Clone the repo
    git clone https://github.com/whatafunc/golang-wiki-website.git
  3. Install Go engine
    brew install go
  4. run your go webserver go run filetest.go
    go run filetest.go 
  5. visit
    http://localhost:8000/
    

(back to top)

Usage

Just browse the links and either view or edit the pages of the small WiKi like local website

(back to top)

Roadmap

  • release
  • add some json and do fuzz tests
  • dev unit tests for go
    • unit test go

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

(back to top)

Top contributors:

contrib.rocks image

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

(back to top)

About

Golang is used for many areas and in this case is working as a webserver and the web app with templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published