diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c9f6b44
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,21 @@
+# Created by .ignore support plugin (hsz.mobi)
+### Go template
+# Binaries for programs and plugins
+*.exe
+*.exe~
+*.dll
+*.so
+*.dylib
+*.xlsx
+
+# Test binary, built with `go test -c`
+*.test
+
+# Output of the go coverage tool, specifically when used with LiteIDE
+*.out
+
+# Dependency directories (remove the comment below to include it)
+# vendor/
+.idea
+.vscode
+mail_test.go
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 2b86b2c..dfd4b80 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,7 +4,9 @@
-
+
+
+
@@ -86,6 +88,7 @@
+
true
diff --git a/exception.go b/exception.go
index 52bb4c9..1279758 100644
--- a/exception.go
+++ b/exception.go
@@ -18,7 +18,7 @@ type Exception struct {
code interface{}
message string
httpCode int
- data map[string]interface{}
+ data interface{}
}
func (e *Exception) Error() string {
@@ -33,7 +33,7 @@ func (e *Exception) GetMessage() string {
return e.message
}
-func (e *Exception) GetData() map[string]interface{} {
+func (e *Exception) GetData() interface{} {
return e.data
}