Removed unused code

This commit is contained in:
Deluan
2016-03-23 12:00:13 -04:00
parent 0e1618a6ac
commit d57f51c7ac
5 changed files with 6 additions and 13 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func (r *ledisRepository) parseAnnotations(entity interface{}) {
}
// TODO Use annotations to specify fields to be used
func (r *ledisRepository) NewId(fields ...string) string {
func (r *ledisRepository) newId(fields ...string) string {
s := fmt.Sprintf("%s\\%s", strings.ToUpper(r.table), strings.Join(fields, ""))
return fmt.Sprintf("%x", md5.Sum([]byte(s)))
}