github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/cmd/present/appengine.go (about) 1 // Copyright 2012 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build appengine 6 7 package main 8 9 import ( 10 "mime" 11 12 "golang.org/x/tools/present" 13 ) 14 15 func init() { 16 initTemplates("./present/") 17 present.PlayEnabled = true 18 initPlayground("./present/", nil) 19 20 // App Engine has no /etc/mime.types 21 mime.AddExtensionType(".svg", "image/svg+xml") 22 }