├── .gitignore ├── cookie_test.go ├── download_file_test.go ├── file_server_test.go ├── form_post_test.go ├── go.mod ├── handler_test.go ├── header_test.go ├── http_test.go ├── middleware_test.go ├── query_param_test.go ├── redirect_test.go ├── resources ├── CONTOHUPLOAD.png ├── PNZ-ICON.png ├── Profile Architect.jpg ├── index.css ├── index.html ├── index.js ├── notfound.html └── ok.html ├── response_code_test.go ├── serve_file_test.go ├── server_test.go ├── template_action_test.go ├── template_caching_test.go ├── template_data_test.go ├── template_function_test.go ├── template_layout_test.go ├── template_test.go ├── templates ├── address.gohtml ├── comparator.gohtml ├── footer.gohtml ├── header.gohtml ├── if.gohtml ├── layout.gohtml ├── name.gohtml ├── post.gohtml ├── range.gohtml ├── simple.gohtml ├── upload.form.gohtml └── upload.success.gohtml ├── upload_file_test.go └── xss_test.go /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml -------------------------------------------------------------------------------- /cookie_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/cookie_test.go -------------------------------------------------------------------------------- /download_file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/download_file_test.go -------------------------------------------------------------------------------- /file_server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/file_server_test.go -------------------------------------------------------------------------------- /form_post_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/form_post_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module belajar-golang-web 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/handler_test.go -------------------------------------------------------------------------------- /header_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/header_test.go -------------------------------------------------------------------------------- /http_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/http_test.go -------------------------------------------------------------------------------- /middleware_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/middleware_test.go -------------------------------------------------------------------------------- /query_param_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/query_param_test.go -------------------------------------------------------------------------------- /redirect_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/redirect_test.go -------------------------------------------------------------------------------- /resources/CONTOHUPLOAD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/resources/CONTOHUPLOAD.png -------------------------------------------------------------------------------- /resources/PNZ-ICON.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/resources/PNZ-ICON.png -------------------------------------------------------------------------------- /resources/Profile Architect.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/resources/Profile Architect.jpg -------------------------------------------------------------------------------- /resources/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/resources/index.css -------------------------------------------------------------------------------- /resources/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/resources/index.html -------------------------------------------------------------------------------- /resources/index.js: -------------------------------------------------------------------------------- 1 | function Hello(){ 2 | 3 | } -------------------------------------------------------------------------------- /resources/notfound.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/resources/notfound.html -------------------------------------------------------------------------------- /resources/ok.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/resources/ok.html -------------------------------------------------------------------------------- /response_code_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/response_code_test.go -------------------------------------------------------------------------------- /serve_file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/serve_file_test.go -------------------------------------------------------------------------------- /server_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/server_test.go -------------------------------------------------------------------------------- /template_action_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/template_action_test.go -------------------------------------------------------------------------------- /template_caching_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/template_caching_test.go -------------------------------------------------------------------------------- /template_data_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/template_data_test.go -------------------------------------------------------------------------------- /template_function_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/template_function_test.go -------------------------------------------------------------------------------- /template_layout_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/template_layout_test.go -------------------------------------------------------------------------------- /template_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/template_test.go -------------------------------------------------------------------------------- /templates/address.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/address.gohtml -------------------------------------------------------------------------------- /templates/comparator.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/comparator.gohtml -------------------------------------------------------------------------------- /templates/footer.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/footer.gohtml -------------------------------------------------------------------------------- /templates/header.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/header.gohtml -------------------------------------------------------------------------------- /templates/if.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/if.gohtml -------------------------------------------------------------------------------- /templates/layout.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/layout.gohtml -------------------------------------------------------------------------------- /templates/name.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/name.gohtml -------------------------------------------------------------------------------- /templates/post.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/post.gohtml -------------------------------------------------------------------------------- /templates/range.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/range.gohtml -------------------------------------------------------------------------------- /templates/simple.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/simple.gohtml -------------------------------------------------------------------------------- /templates/upload.form.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/upload.form.gohtml -------------------------------------------------------------------------------- /templates/upload.success.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/templates/upload.success.gohtml -------------------------------------------------------------------------------- /upload_file_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/upload_file_test.go -------------------------------------------------------------------------------- /xss_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ProgrammerZamanNow/belajar-golang-web/HEAD/xss_test.go --------------------------------------------------------------------------------