Golang Echo and html template.
Run and Debug: launch.json.
First, clone the repo:
$ git clone https://github.com/ockibagusp/hello.git
file: hello.sql -> new database: hello
file: hello.sql -> new database: hello_test
Username | Password |
---|---|
ockibagusp | user123 |
sugriwa | user123 |
subali | user123 |
This using router.
This using debug.
Optional. Default value @debug: {true} or {1}.
-
function debug (bool)
@function debug: {true} or {false}
-
os.Setenv("debug", ...)
-
@debug: {true} or {1}
os.Setenv("debug", "true")
or,
os.Setenv("debug", "1")
-
@debug: {false} or {0}
os.Setenv("debug", "false")
or,
os.Setenv("debug", "0")
-
$ go run main.go
or,
$ go build
-
On Linux or Mac:
$ ./hello
-
On Windows:
$ hello.exe
$ go test github.com/ockibagusp/hello/test
or, verbose output (-v) flag:
$ go test github.com/ockibagusp/hello/test -v
- too much
- Fedora 35 Workstation
- go1.16.11 linux/amd64
- mysql Ver 8.0.27 for Linux on x86_64 (Source distribution)
Saya sendang berjuang sembuh dari Stroke pada 03 Oktober 2018-hari ini. Coding ini dirilis 7 Januari 2020, ternyata coding sedikit lupa. Kata-katanya dari Bahasa Indonesia sedikit lupa dan Bahasa Inggris kayaknya sulit. Insya Allah, perlahan-lahan sembuh. Aamiin.
Allah itu baik. 🙂
I'm struggling to recover from a stroke on October 03, 2018-today. This coding was released January 7, 2020, apparently the coding was a little forgotten. The words from Indonesian are a little forgotten and English seems difficult. Insya Allah, slowly recover. Aamiin.
Allah is good. 🙂
Copyright © 2020 by Ocki Bagus Pratama