Code syntax

pull/13/head
Fenny 2020-02-03 14:11:46 +01:00
parent a6a85ff66a
commit 999081aa78
2 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@ Assuming youve already installed Go `1.11+` 😉
Install the [Fiber](https://github.com/gofiber/fiber) package by calling the following command:
```console
```bash
go get -u github.com/gofiber/fiber
```
@ -67,7 +67,7 @@ func main() {
Go to console and run:
```console
```bash
go run server.go
```
@ -96,7 +96,7 @@ func main() {
Now, you can load the files that are in the public directory:
```console
```bash
http://localhost:8080/hello.html
http://localhost:8080/js/script.js
http://localhost:8080/css/style.css

View File

@ -36,7 +36,7 @@
Установит пакет [Fiber](https://github.com/gofiber/fiber) с помощью следующей команды в консоле:
```console
```bash
go get -u github.com/gofiber/fiber
```
@ -67,7 +67,7 @@ func main() {
Перейдите в консоль и запустите:
```console
```bash
go run server.go
```
@ -96,7 +96,7 @@ func main() {
Теперь вы можете получить доступ ко всем файлам, которые находятся в папке `./public`:
```console
```bash
http://localhost:8080/hello.html
http://localhost:8080/js/script.js
http://localhost:8080/css/style.css