Package Usage: go: github.com/aaronland/go-http-bootstrap
`go-http-bootstrap` is an HTTP middleware package for including Bootstrap.js assets in web applications. It exports two principal methods:
* `bootstrap.AppendAssetHandlers(*http.ServeMux)` which is used to append HTTP handlers to a `http.ServeMux` instance for serving Bootstrap CSS and JavaScript files, and related assets.
* `bootstrap.AppendResourcesHandler(http.Handler, *BootstrapOptions)` which is used to rewrite any HTML produced by previous handler to include the necessary markup to load Bootstrap JavaScript files and related assets.
Example
All of the Bootstrap files in the static/css(static/css) and static/javascript(static/javascript) are registered with your `http.ServeMux` instance when you call `bootstrap.AppendAssetHandlers` but by default only the `css/bootstrap.min.css` is included in the list of CSS and Javascript resources to append to HTML content when you call the `bootstrap.DefaultBootstrapOptions()` method. If there are other Bootstrap-related files you need to access in your application you will need to add them to the `BootstrapOptions.CSS` and `Bootstrap.JS` properties manually.
14 versions
Latest release: about 2 years ago
19 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/aaronland/go-http-bootstrap
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/aaronland%2Fgo-http-bootstrap
Dependent Repos 17
whosonfirst/go-whosonfirst-spatial-www
Opinionated web application for the go-whosonfirst-spatial packages.Size: 99 MB - Last synced: 18 days ago - Pushed: 28 days ago

whosonfirst/go-whosonfirst-browser 📦
Go package for browsing and rendering Who's On First (WOF) records in a number of formats.Size: 131 MB - Last synced: 11 months ago - Pushed: 12 months ago

sfomuseum/go-libraryofcongress-database
Go package providing simple database and server interfaces for the CSV files produced by the sfomuseum/go-libraryofcongress packageSize: 29.2 MB - Last synced: 3 months ago - Pushed: over 1 year ago

sfomuseum/go-sfomuseum-edtf
Go package for convert SFO Museum date strings in to Extended DateTime Format (EDTF) strings and instances.Size: 5.53 MB - Last synced: 3 months ago - Pushed: about 1 year ago

sfomuseum/go-exif-update
Go package to for updating EXIF data in JPEG files with support for WebAssembly binaries.Size: 33.4 MB - Last synced: 27 days ago - Pushed: about 2 months ago

sfomuseum/go-http-sfomuseum
Go package to provide common elements for SFO Museum web applications, notably headers and footers.Size: 5.8 MB - Last synced: 27 days ago - Pushed: 2 months ago

aaronland/go-marc
Go package for working with MARC records.Size: 20.9 MB - Last synced: 2 months ago - Pushed: 2 months ago

sfomuseum/go-www-geotag-whosonfirst
A web application, written in Go, for geotagging images with support for Who's On First output.Size: 5.14 MB - Last synced: 3 months ago - Pushed: almost 5 years ago

sfomuseum/go-www-geotag
A web application, written in Go, for geotagging images.Size: 28.3 MB - Last synced: 3 months ago - Pushed: almost 4 years ago

whosonfirst/go-whosonfirst-spatial-www-sqlite 📦
Go package implementing the whosonfirst/go-whosonfirst-spatial-www server application with support for whosonfirst/go-whosonfirst-spatial-sqlite databases.Size: 76.7 MB - Last synced: 11 months ago - Pushed: about 1 year ago

sfomuseum/go-www-geotag-sfomuseum
A web application, written in Go, for geotagging images in the SFO Museum collection.Size: 12.5 MB - Last synced: 3 months ago - Pushed: almost 4 years ago

sfomuseum/go-placeholder-client-www
A simple web application for querying a (Pelias) Placeholder server.Size: 19.4 MB - Last synced: 3 months ago - Pushed: over 1 year ago

aaronland/go-mailinglist-database-dynamodb 📦
Size: 622 KB - Last synced: 3 months ago - Pushed: over 1 year ago

whosonfirst/go-whosonfirst-browser-sqlite 📦
A Go package that implements a SQLite-enabled instance of the whosonfirst/go-whosonfirst-browser tool.Size: 13.6 MB - Last synced: 11 months ago - Pushed: 12 months ago

whosonfirst/go-whosonfirst-inspector
Who's On First datastore inspector.Size: 23.1 MB - Last synced: 2 months ago - Pushed: almost 5 years ago

whosonfirst/go-whosonfirst-spatial-www-pmtiles 📦
Go package implementing the whosonfirst/go-whosonfirst-spatial-www server application with support for whosonfirst/go-whosonfirst-spatial-pmtiles databases.Size: 44.4 MB - Last synced: 11 months ago - Pushed: about 1 year ago

aaronland/go-http-maps
Go package providing opinionated HTTP middleware for web-based map tiles.Size: 81.2 MB - Last synced: 4 days ago - Pushed: 2 months ago

aaronland/go-mailinglist
Minimalist and opinionated scaffolding for running a mailing list.Size: 14.4 MB - Last synced: 11 days ago - Pushed: 24 days ago

aaronland/go-wunderkammer-www
Go package for web-related operations involving "wunderkammer" databases.Size: 4.91 MB - Last synced: almost 2 years ago - Pushed: almost 5 years ago


sfomuseum/go-edtf-wasm
Go package for exposing sfomuseum/go-edtf functionality as WebAssembly binaries.Size: 15.1 MB - Last synced: 27 days ago - Pushed: about 1 year ago

sfomuseum/go-libraryofcongress-database-elasticsearch
Go package implementing the sfomuseum/go-libraryofcongress-database.LibraryOfCongressDatabase interface for use with Elasticsearch.Size: 1.43 MB - Last synced: 3 months ago - Pushed: over 1 year ago

sfomuseum/go-accession-numbers-wasm
WebAssembly binaries and Web Component elements for extracting accession numbers from text using the sfomuseum/go-accession-numbers package.Size: 6.23 MB - Last synced: 3 months ago - Pushed: over 1 year ago
