Refactoring, Bugfix & Updates

+ Refactored all imports
+ Fixed a bug for the logging regarding removing \n \t \r
+ Updated to current MGO release
+ Changed the name of ICCC
This commit is contained in:
Thorsten Sommer committed 2014-10-19 19:19:11 +02:00
1 parent b50066ef5d
commit f33f7b5c29
91 files changed
+496 -316

No files matched your search

+3 -1
View File
@@ -1,6 +1,8 @@
package MimeTypes
import "strings"
import (
"strings"
)
type MimeType struct {
MimeType string
+3 -1
View File
@@ -1,6 +1,8 @@
package MimeTypes
import "net/http"
import (
"net/http"
)
func Write2HTTP(response http.ResponseWriter, mime MimeType) {
response.Header().Add(`Content-Type`, mime.MimeType)