• @CodeBlooded
    link
    English
    21 year ago

    pkg/ isn’t a language feature. It’s just a popular convention that used to be used in the Go standard library.

    • @foehammer
      link
      English
      11 year ago

      The language feature is the internal/ directory, and it’s function of restricting dependencies from external programs.

      • @CodeBlooded
        link
        English
        21 year ago

        That is correct, internal/ is a feature. I was just clarifying that the pkg/ folder isn’t any sort of language feature as you had said it was.