engineerkamesh / igb Goto Github PK
View Code? Open in Web Editor NEWOfficial source code repository for the Isomorphic Go book
License: Other
Official source code repository for the Isomorphic Go book
License: Other
Seems as if it's working...
go get -u github.com/EngineerKamesh/igb
go: finding github.com/EngineerKamesh/igb latest
Yet, no files...or even a directory show up...
ls ${GOPATH}/src/github.com/EngineerKamesh
ls: cannot access '/home/jeff/.go/src/github.com/EngineerKamesh': No such file or directory
Am I missing rights for it? I purchased your book through Amazon. Thank you sir.
Hi Kamesh,
I bought your book a few days ago; I'd been a little jealous of isometric JS, so I am excited to see this!
It looks like the back button isn't completely working in the IGWEB app (running on my local or on your demo site). History is preserved correctly, and the URL changes, but the views aren't loading automatically. Refreshing the page with the URL does work, however.
I've tested on the latest versions of Firefox, Chrome, and Safari on an up-to-date Mac.
Command: go get -u github.com/uxtoolkit/cog
Returns: github.com\uxtoolkit\cog\uxcog.go:27:19: undefined: isokit.TemplateSet
Hi Kamesh,
I just bought your book from Packt and visited your demo. I was wondering if you could show us how to do a checkout flow with stripe and maybe a admin panel to fullfill orders. I also bought your front end and back end go books published with Packt 😊
Cheers,
Rob
Reference: Packt Case #309599
The command go get github.com/james-bowman/nlp
will no longer work. It seems a code refactoring was performed on this package recently, which impacts the code examples in Chapter 8.
A reader has reported the following details:
On page: Page 52
The command $ go get ./.. does not work.
in the github.com/EngineerKamesh/igb/igweb/bot/agentcase.go file you need to
add to the imports:
"github.com/james-bowman/nlp/measures/pairwise"
and change: nlp.CosineSimilarity to pairwise.CosineSimilarity
hi! i can't get past the gopherjs build step after go get ./.. inside .../igb/igweb/client
i wonder if it has anything to do with the fact that i'm using go version 1.9.2 but gopherjs version 1.9-1 ??
here are the messages i get in my command console:
f:\gowork\src\github.com\EngineerKamesh\igb\igweb\client>gopherjs build
�[31mC:\Go\src\internal\poll\fd_windows.go:386:22: invalid operation: fd.pd (variable of type pollDesc) has no field or method runtimeCtx
�[39m�[31mC:\Go\src\internal\poll\fd_windows.go:387:22: invalid operation: fd.pd (variable of type pollDesc) has no field or method runtimeCtx
�[39m�[31mC:\Go\src\internal\poll\fd_windows.go:167:5: invalid operation: o.fd.pd (variable of type pollDesc) has no field or method runtimeCtx
�[39m
f:\gowork\src\github.com\EngineerKamesh\igb\igweb\client>
thanks for any info or help!
Hello, Kamesh
I've found a minor typing issue.
In page86,
element := js.Get("document").Call("getElementById"), "primaryContent")
This code should be
element := js.Get("document").Call("getElementById", "primaryContent")
I think your book is amazing!
Thank you for your valuable time and sharing valuable idea :)
@EngineerKamesh
Hi Kamesh! This is a great book. I just started learning, hoping that isomorphic Go is a nice journey. Two notes around this topic:
Anyway, I am hoping that this whole initiative is a great development experience with great results and I would like to contribute to it.
Thanks for the book!
Hi @EngineerKamesh ,
As mentioned in another ticket, the client code doesn't build because GopherJS doesn't support Go module, and the solution is to install older version of github.com/tdewolff/minify
and github.com/tdewolff/parse
.
However, when my project grows, I may need to use some other packages that requires Go module, and using old version of those packages may not always work. So I do a google search and find this article telling me that we can use go mod vendor
to get around it.
This approach does fix the module issue, but now I get another error:
..\vendor\go.isomorphicgo.org\uxtoolkit\reconcile\parsetree.go:53:22: tokenizer.CurrentOffset undefined (type *"github.com/EngineerKamesh/igb/igweb/vendor/golang.org/x/net/html".Tokenizer has no field or method CurrentOffset)
I try to track down the issue, and I notice that go.isomorphicgo.org\uxtoolkit\reconcile
is also your project, and you customize the golang.org/x/net
package, put it in the vendor folder, which makes the GopherJS confused.
I'm just wondering if there is a proper fix for this, so that I can enable GO module without breaking your code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.