Help us shape the future of Go! Take the 2026 Go Developer Survey

buffalo_helpers

package module
v0.0.0-...-68aa590 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2018 License: MIT Imports: 2 Imported by: 0

README

buffalo_helpers

My helpers for using buffalo

Pre-wares:
  1. AutoSetContentType: This will look for file extentions on the end of a path and handle them properly.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoSetContentType

func AutoSetContentType(h http.Handler) http.Handler

This will check for if the requested path has a known file extention and will properly remove it and set the content-type if it is not already set.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL