Skip to content
Snippets Groups Projects
Commit a192c846 authored by ko_oler's avatar ko_oler
Browse files

fix typo

parent e2a1c17d
Branches
Tags
No related merge requests found
......@@ -62,8 +62,6 @@ func (r *Registry) FromMap(m map[string]interface{}) (*ObjectId, error) {
func (r *Registry) FromObject(v interface{}) (*ObjectId, error) {
t := reflect.TypeOf(v)
fmt.Println(t.String())
fmt.Println(r.handlers)
if handler, ok := r.handlers[t]; ok {
i := handler(v)
if i == nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment