Add a note about server behaviour expectations

This commit is contained in:
2026-05-22 11:18:54 +02:00
parent e0bb258de0
commit aecd851d65
+15 -1
View File
@@ -1,7 +1,21 @@
> **Note**
>
> This program expects that your Gopher server treats **empty lines** as **information lines**.
>
> It also expects the server to **add the hostname** and the **port** number at the end of links.
### Compiling
This program compiles like any other ordinary Go project, simply **run** `go build .` in the project directory.
You need to have Go toolchain installed:
```shell
# Debian
sudo apt install golang
# Fedora
sudo dnf install golang
```
Then, just **clone the repo** and run **`go build .`** to compile an executable.
### Usage
```shell