Skip to content

Added Value method to get reflect.Value from underlying entities#13

Open
dlahoza wants to merge 2 commits intostarlight-go:masterfrom
dlahoza:master
Open

Added Value method to get reflect.Value from underlying entities#13
dlahoza wants to merge 2 commits intostarlight-go:masterfrom
dlahoza:master

Conversation

@dlahoza
Copy link

@dlahoza dlahoza commented Jan 30, 2019

This will be helpful for working with values received by Go functions added to the globals.

globals := map[string: interface{}{
  "f": func Something(v inteface{}){
    //v will be *GoMap type
  },
  "v": map[string]interface{},
}

starlark
f(v)

@dlahoza
Copy link
Author

dlahoza commented Jan 31, 2019

Added small fix to FromDict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant