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:
1 parent
b50066ef5d
commit
f33f7b5c29
91 files changed
+496
-316
No files matched your search
@@ -1,6 +1,8 @@
|
||||
package MimeTypes
|
||||
|
||||
import "strings"
|
||||
import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
type MimeType struct {
|
||||
MimeType string
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user