| Total Lines | 9 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | package gotil |
||
| 2 | |||
| 3 | import "github.com/gotilty/gotil/internal" |
||
| 4 | |||
| 5 | //MD5 returns the MD5 checksum of the data. |
||
| 6 | //Just works with all primitive types. |
||
| 7 | //If given parameter is different type instead of string, firstly, it will convert the given parameter to string with gotil.ToString(). |
||
| 8 | func Md5(a interface{}) (string, error) { |
||
| 9 | return internal.Md5(a) |
||
| 10 | } |
||
| 11 |