Skip to content

Instantly share code, notes, and snippets.

@ykyuen
Created April 18, 2019 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ykyuen/2ba3cc9d525bc6623d43591d5948958e to your computer and use it in GitHub Desktop.
Save ykyuen/2ba3cc9d525bc6623d43591d5948958e to your computer and use it in GitHub Desktop.
handling-http-request-in-go-echo-framework-2-04
{{define "base.html"}}
<!DOCTYPE html>
<html>
<head>
<title>{{template "title" .}}</title>
<!-- jQuery -->
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
</head>
<body>
{{template "body" .}}
</body>
</html>
{{end}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment