Просмотр исходного кода

Merge pull request #20 from tremaineeto/patch-1

Fix typo ("Go tool" -> "Go tools")
chore/proposed-structure
Kyle Quest 6 лет назад
committed by GitHub
Родитель
Сommit
8df26de1fb
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 4AEE18F83AFDEB23
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      README.md

+ 1
- 1
README.md Просмотреть файл

@@ -46,7 +46,7 @@ Put your actual application code in the `/internal/app` directory (e.g., `/inter

Library code that's ok to use by external applications (e.g., `/pkg/mypubliclib`). Other projects will import these libraries expecting them to work, so think twice before you put something here :-)

It's also a way to group Go code in one place when your root directory contains lots of non-Go components and directories making it easier to run various Go tool (as mentioned in the [`Best Practices for Industrial Programming`](https://www.youtube.com/watch?v=PTE4VJIdHPg) from GopherCon EU 2018).
It's also a way to group Go code in one place when your root directory contains lots of non-Go components and directories making it easier to run various Go tools (as mentioned in the [`Best Practices for Industrial Programming`](https://www.youtube.com/watch?v=PTE4VJIdHPg) from GopherCon EU 2018).

See the [`/pkg`](pkg/README.md) directory if you want to see which popular Go repos use this project layout pattern. This is a common layout pattern, but it's not universally accepted and some in the Go community don't recommend it.



Загрузка…
Отмена
Сохранить