Created
June 28, 2018 03:40
-
-
Save kentquirk/735e56d52ef827efb3612d5b6ca48b19 to your computer and use it in GitHub Desktop.
Using Go structs from JS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
m = require("./objtest2.js"); | |
h = m.hashobj({ | |
name: "Kent", | |
address: "Somewhere in Space and Time", | |
city: "Specificity", | |
state: "CT" | |
}) | |
console.log(h.hash.slice(0, 4)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment