Examples Filter
Parsing a URL which includes a scheme, authentication info, host, port, path, query params, and a query fragment.
Last Run  :
postgres
user:pass
user
pass
host.com:5432
host.com
5432
/path
f
k=v
map[k:[v]]
v
The Go standard library comes with excellent support for HTTP clients and servers in the net/http package. In this example we’ll use it to issue simple HTTP requests.
Writing a basic HTTP server is easy using the net/http package.
You may want to persist visitor data through cookies sent and received as cookies.
Escape HTML so that special characters don't render as HTML but as text in the browser.
Last Run  :
<script>alert(123);</script>