Coder Social home page Coder Social logo

support for inline repl/shell? about doctl HOT 5 CLOSED

klauern avatar klauern commented on August 19, 2024
support for inline repl/shell?

from doctl.

Comments (5)

aybabtme avatar aybabtme commented on August 19, 2024

hi @klauern ! I made an experimental REPL. If you want to try it out, I'd love to know if it matches what you're looking for:

https://github.com/aybabtme/godotto/#repl

from doctl.

klauern avatar klauern commented on August 19, 2024

Hello @aybabtme ! This looks neat. Unfortunately, my primary machine is a Windows box, so I can't do much in the way of testing this:

> go get github.com/aybabtme/godotto/cmd/dorepl
# github.com/aybabtme/godotto/internal/godojs
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:108: unknown godo.Droplet field 'DriveIDs' in struct literal
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:148: req.Drives undefined (type *godo.DropletCreateRequest has no field or method Drives)
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:148: undefined: godo.DropletCreateDrive
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:329: undefined: godo.Drive
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:336: undefined: godo.Drive
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:346: undefined: godo.DriveCreateRequest
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:374: undefined: godo.SnapshotCreateRequest
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:388: undefined: godo.Snapshot
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:573: undefined: godo.Drive
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:587: undefined: godo.Snapshot
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:336: too many errors
# github.com/aybabtme/godotto/pkg/extra/do/cloud/drives
golang\src\github.com\aybabtme\godotto\pkg\extra\do\cloud\drives\client.go:55: undefined: godo.DriveCreateRequest

I will see if I can get this working on my MB at home and get back to you. Do you have plans on cross-compilation support for windows?

from doctl.

aybabtme avatar aybabtme commented on August 19, 2024

I can try building it for windows but I have no way of testing that it'll
work 😄

On Thursday, 9 June 2016, Nick Klauer [email protected] wrote:

Hello @aybabtme https://github.com/aybabtme ! This looks neat.
Unfortunately, my primary machine is a Windows box, so I can't do much in
the way of testing this:

go get github.com/aybabtme/godotto/cmd/dorepl# github.com/aybabtme/godotto/internal/godojs
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:108: unknown godo.Droplet field 'DriveIDs' in struct literal
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:148: req.Drives undefined (type *godo.DropletCreateRequest has no field or method Drives)
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:148: undefined: godo.DropletCreateDrive
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:329: undefined: godo.Drive
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:336: undefined: godo.Drive
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:346: undefined: godo.DriveCreateRequest
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:374: undefined: godo.SnapshotCreateRequest
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:388: undefined: godo.Snapshot
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:573: undefined: godo.Drive
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:587: undefined: godo.Snapshot
golang\src\github.com\aybabtme\godotto\internal\godojs\godojs.go:336: too many errors# github.com/aybabtme/godotto/pkg/extra/do/cloud/drives
golang\src\github.com\aybabtme\godotto\pkg\extra\do\cloud\drives\client.go:55: undefined: godo.DriveCreateRequest

I will see if I can get this working on my MB at home and get back to you.
Do you have plans on cross-compilation support for windows?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#66 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABInVK6NG7N29nIv5g_yRN4lugDIISgsks5qKHadgaJpZM4IVUVn
.

Cheers,

Antoine Grondin

Live long and prosper

from doctl.

aybabtme avatar aybabtme commented on August 19, 2024

@klauern let me know if this works https://github.com/aybabtme/godotto#windows-not-tested-ymmv

from doctl.

klauern avatar klauern commented on August 19, 2024

I created an issue for the windows test I ran: aybabtme/godotto#1

from doctl.

Related Issues (20)

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.