Coder Social home page Coder Social logo

File/directory operations about script HOT 3 CLOSED

bitfield avatar bitfield commented on July 22, 2024
File/directory operations

from script.

Comments (3)

bitfield avatar bitfield commented on July 22, 2024

So far I haven't managed to write a lot of programs using script, which is a shame—I really need to do more of this to get a feel for how the API works, or doesn't. I'll close this for now pending more specific suggestions.

from script.

andriykrefer avatar andriykrefer commented on July 22, 2024

I think that would be a nice addition to the library. I just met "script" and did not have a chance to use it yet. But I really like the concept. The first thing that I saw missing was these file operations.

The file copy operation is also odd in go. Since you have to open a file, read it and write to a new file, instead of just calling a "Copy" function.

from script.

bitfield avatar bitfield commented on July 22, 2024

Feel free to make some suggestions @andriykrefer! Ideally, provide a short program that solves a problem you have, using the Copy operation, for example. That'll help us get a sense of what a good API would look like.

from script.

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.