by:
Taib Izzat Samawi, 5025221085
this is a simple implementation of
go/golangfor a web application.
- clone/download this repo
- open the folder
- download
go/golang - run
go run wiki.go - optionally, if you want a faster/more performant implementation:
- run
go build wiki.go - this will create a
wikimachine code (in linux) or awiki.exeexecutable (in windows) - run
./wiki(linux) orwiki.exe(windows)
- run
this will open up a webpage at
localhost:8080
if one were to open
localhost:8080/view/<filename>example:
localhost:8080/view/monke
this will open up a page that looks like below
this will open up a session of
localhost:8080/edit/monke, which we will discuss in the next section.
if one were to open
localhost:8080/edit/<filename>example:
localhost:8080/edit/monkea screen will pop up, which will look like below:
one can edit the contents inside the text area
one can click on the save button to commit/save changes. After clicking the
Savebutton, one would be redirected to a session oflocalhost:8080/view/monke, which will show the updated contents



