Coder Social home page Coder Social logo

Comments (8)

knarz avatar knarz commented on May 25, 2024 2

The package itself is named giota.

See also #29 (comment)

I just change the repo to giota again. (Nobody tell Dom!)

from iota.go.

cwarner818 avatar cwarner818 commented on May 25, 2024

I agree that package naming is not standard for Go. I imagine they did this to keep with the other things in their repo, but I would still like to see it changed.

What parts do you think could be split out? The package isn't really that complex to begin with.

from iota.go.

cwarner818 avatar cwarner818 commented on May 25, 2024

I think giota is a decent name, but wouldn't iota as the package name be better? I would tend to name the repo directory iota-go or go-iota and then use package iota in the code. This makes the repo stand out in the organizations list but also denotes what the true package name is.

from iota.go.

knarz avatar knarz commented on May 25, 2024

iota is a constant in go so I'm not sure if renaming the package to that would be a great idea.

from iota.go.

cwarner818 avatar cwarner818 commented on May 25, 2024

from iota.go.

knarz avatar knarz commented on May 25, 2024

Hah, I just changed it locally and nothing broke, so far.
I'm not really opposed to changing it to iota but if .go in the repository name breaks things, I wouldn't even want to imagine what having your package named iota could possibly break.

from iota.go.

cwarner818 avatar cwarner818 commented on May 25, 2024

Throw this in your file and watch it break:

const (
    thing int = iota
    thing2
    thing3
)

from iota.go.

luca-moser avatar luca-moser commented on May 25, 2024

I've split the package into multiple smaller ones and made the repo go modules agnostic.

from iota.go.

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.