Giter VIP home page Giter VIP logo

goco's People

Contributors

aragonet avatar codewinch avatar inkeliz avatar jaracil avatar jovisaib avatar soyangel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

goco's Issues

Question...

So these are wrappers it seems.

So from my gopherjs I can call your wrappers that call the Cordova ApI for goelocation ( for example ).

Did you ever get the opposite working ?
Basically writing your own plugins for Cordova in golang ? I looked into it and it looked like the design of Cordova forced me to write in a different language for each platform.

It's a pity no one has written a bridge plugin for each OS, so you can code your ApI in protobuf and for example on Windows call from golang into the c# protobuf wrapper plugin and into Cordova.

Hope I am explaining myself here we'll enough.

Anyway at the moment I use webview for each OS that has bridging code so the gopherjs code can talk to the golang code via a ApI agnostic bridge using json or protobuf serialisation, but was asking most of these questions to see how easy golang with Cordova really isn

Examples ?

It's nice approach for getting things done

Are there any examples ?

Improves in tcpsockets.go

I think that the import of github.com/pkg/errors can be removed, since no other library uses it. All features uses the default errors from Golang, just that library uses this custom one. It should be removed?

The pkg/errors is only used in one line:

return n, errors.Wrap(err, ErrPipeReadFailed.Error())

I think it can be replaced:

return n, err

Also, I think should be nice one tcpsockets.DialTCP(). Also, one tcpsockets.Dial() if cordova-plugin-chrome-apps-sockets-udp becomes available on day. It's just to match with the original net, that allows to net.DialTCP(). Can I submit one pull request if this function or the goco should always follows the Javascript?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.