├── .gitignore ├── LICENSE ├── README.md ├── example ├── main.go └── views │ ├── _layout.gohtml │ ├── index.gohtml │ └── info │ ├── _layout.gohtml │ └── about.gohtml ├── go.mod └── view.go /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .vscode 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reddec/view/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reddec/view/HEAD/README.md -------------------------------------------------------------------------------- /example/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reddec/view/HEAD/example/main.go -------------------------------------------------------------------------------- /example/views/_layout.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reddec/view/HEAD/example/views/_layout.gohtml -------------------------------------------------------------------------------- /example/views/index.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reddec/view/HEAD/example/views/index.gohtml -------------------------------------------------------------------------------- /example/views/info/_layout.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reddec/view/HEAD/example/views/info/_layout.gohtml -------------------------------------------------------------------------------- /example/views/info/about.gohtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reddec/view/HEAD/example/views/info/about.gohtml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/reddec/view 2 | 3 | go 1.21.3 4 | -------------------------------------------------------------------------------- /view.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reddec/view/HEAD/view.go --------------------------------------------------------------------------------