├── .gitignore ├── LICENSE ├── README.md └── macaron-1.1.8 ├── README.md ├── context.go ├── context_test.go ├── fixtures ├── basic │ ├── admin │ │ └── index.tmpl │ ├── another_layout.tmpl │ ├── content.tmpl │ ├── current_layout.tmpl │ ├── custom │ │ └── hello.tmpl │ ├── delims.tmpl │ ├── hello.tmpl │ ├── hypertext.html │ └── layout.tmpl ├── basic2 │ ├── hello.tmpl │ └── hello2.tmpl ├── custom_funcs │ └── index.tmpl └── symlink │ ├── admin │ └── index.tmpl │ ├── another_layout.tmpl │ ├── content.tmpl │ ├── current_layout.tmpl │ ├── custom │ └── hello.tmpl │ ├── delims.tmpl │ ├── hello.tmpl │ ├── hypertext.html │ └── layout.tmpl ├── logger.go ├── logger_test.go ├── macaron.go ├── macaron_test.go ├── recovery.go ├── recovery_test.go ├── render.go ├── render_test.go ├── response_writer.go ├── response_writer_test.go ├── return_handler.go ├── return_handler_test.go ├── router.go ├── router_test.go ├── static.go ├── static_test.go └── tree.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/README.md -------------------------------------------------------------------------------- /macaron-1.1.8/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/README.md -------------------------------------------------------------------------------- /macaron-1.1.8/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/context.go -------------------------------------------------------------------------------- /macaron-1.1.8/context_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/context_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/admin/index.tmpl: -------------------------------------------------------------------------------- 1 |

Admin {{.}}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/another_layout.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/fixtures/basic/another_layout.tmpl -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/content.tmpl: -------------------------------------------------------------------------------- 1 |

{{ . }}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/current_layout.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/fixtures/basic/current_layout.tmpl -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/custom/hello.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/fixtures/basic/custom/hello.tmpl -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/delims.tmpl: -------------------------------------------------------------------------------- 1 |

Hello {[{.}]}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/hello.tmpl: -------------------------------------------------------------------------------- 1 |

Hello {{.}}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/hypertext.html: -------------------------------------------------------------------------------- 1 | Hypertext! -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic/layout.tmpl: -------------------------------------------------------------------------------- 1 | head{{ yield }}foot -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic2/hello.tmpl: -------------------------------------------------------------------------------- 1 |

What's up, {{.}}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/basic2/hello2.tmpl: -------------------------------------------------------------------------------- 1 |

Hello {{.Name}}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/custom_funcs/index.tmpl: -------------------------------------------------------------------------------- 1 | {{ myCustomFunc }} -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/admin/index.tmpl: -------------------------------------------------------------------------------- 1 |

Admin {{.}}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/another_layout.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/fixtures/symlink/another_layout.tmpl -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/content.tmpl: -------------------------------------------------------------------------------- 1 |

{{ . }}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/current_layout.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/fixtures/symlink/current_layout.tmpl -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/custom/hello.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/fixtures/symlink/custom/hello.tmpl -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/delims.tmpl: -------------------------------------------------------------------------------- 1 |

Hello {[{.}]}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/hello.tmpl: -------------------------------------------------------------------------------- 1 |

Hello {{.}}

-------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/hypertext.html: -------------------------------------------------------------------------------- 1 | Hypertext! -------------------------------------------------------------------------------- /macaron-1.1.8/fixtures/symlink/layout.tmpl: -------------------------------------------------------------------------------- 1 | head{{ yield }}foot -------------------------------------------------------------------------------- /macaron-1.1.8/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/logger.go -------------------------------------------------------------------------------- /macaron-1.1.8/logger_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/logger_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/macaron.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/macaron.go -------------------------------------------------------------------------------- /macaron-1.1.8/macaron_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/macaron_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/recovery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/recovery.go -------------------------------------------------------------------------------- /macaron-1.1.8/recovery_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/recovery_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/render.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/render.go -------------------------------------------------------------------------------- /macaron-1.1.8/render_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/render_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/response_writer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/response_writer.go -------------------------------------------------------------------------------- /macaron-1.1.8/response_writer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/response_writer_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/return_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/return_handler.go -------------------------------------------------------------------------------- /macaron-1.1.8/return_handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/return_handler_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/router.go -------------------------------------------------------------------------------- /macaron-1.1.8/router_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/router_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/static.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/static.go -------------------------------------------------------------------------------- /macaron-1.1.8/static_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/static_test.go -------------------------------------------------------------------------------- /macaron-1.1.8/tree.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hhstore/annotated-go-macaron/HEAD/macaron-1.1.8/tree.go --------------------------------------------------------------------------------