From 4e2cf8b9b37e2ac59004c36179adc23a8abfaeeb Mon Sep 17 00:00:00 2001 From: Kyle Quest Date: Wed, 28 Apr 2021 23:06:26 -0700 Subject: [PATCH] russian translation link updates --- README.md | 4 ++-- README_es.md | 1 + README_fr.md | 1 + README_ja.md | 1 + README_ko.md | 1 + README_ptBR.md | 1 + README_ro.md | 1 + README_ru.md | 5 ++++- README_zh-CN.md | 1 + README_zh-TW.md | 1 + README_zh.md | 1 + 11 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 901e141..42edadd 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,9 @@ Translations: ## Overview -This is a basic layout for Go application projects. It's `not an official standard defined by the core Go dev team`; however, it is a set of common historical and emerging project layout patterns in the Go ecosystem. Some of these patterns are more popular than others. It also has a number of small enhancements along with several supporting directories common to any large enough real world application. +This is a basic layout for Go application projects. It's **`not an official standard defined by the core Go dev team`**; however, it is a set of common historical and emerging project layout patterns in the Go ecosystem. Some of these patterns are more popular than others. It also has a number of small enhancements along with several supporting directories common to any large enough real world application. -`If you are trying to learn Go or if you are building a PoC or a simple project for yourself this project layout is an overkill. Start with something really simple instead (a single `main.go` file and `go.mod` is more than enough).` As your project grows keep in mind that it'll be important to make sure your code is well structured otherwise you'll end up with a messy code with lots of hidden dependencies and global state. When you have more people working on the project you'll need even more structure. That's when it's important to introduce a common way to manage packages/libraries. When you have an open source project or when you know other projects import the code from your project repository that's when it's important to have private (aka `internal`) packages and code. Clone the repository, keep what you need and delete everything else! Just because it's there it doesn't mean you have to use it all. None of these patterns are used in every single project. Even the `vendor` pattern is not universal. +**`If you are trying to learn Go or if you are building a PoC or a simple project for yourself this project layout is an overkill. Start with something really simple instead (a single `main.go` file and `go.mod` is more than enough).`** As your project grows keep in mind that it'll be important to make sure your code is well structured otherwise you'll end up with a messy code with lots of hidden dependencies and global state. When you have more people working on the project you'll need even more structure. That's when it's important to introduce a common way to manage packages/libraries. When you have an open source project or when you know other projects import the code from your project repository that's when it's important to have private (aka `internal`) packages and code. Clone the repository, keep what you need and delete everything else! Just because it's there it doesn't mean you have to use it all. None of these patterns are used in every single project. Even the `vendor` pattern is not universal. With Go 1.14 [`Go Modules`](https://github.com/golang/go/wiki/Modules) are finally ready for production. Use [`Go Modules`](https://blog.golang.org/using-go-modules) unless you have a specific reason not to use them and if you do then you don’t need to worry about $GOPATH and where you put your project. The basic `go.mod` file in the repo assumes your project is hosted on GitHub, but it's not a requirement. The module path can be anything though the first module path component should have a dot in its name (the current version of Go doesn't enforce it anymore, but if you are using slightly older versions don't be surprised if your builds fail without it). See Issues [`37554`](https://github.com/golang/go/issues/37554) and [`32819`](https://github.com/golang/go/issues/32819) if you want to know more about it. diff --git a/README_es.md b/README_es.md index bf98ee4..725ed70 100644 --- a/README_es.md +++ b/README_es.md @@ -12,6 +12,7 @@ Traducciones: * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) ## Resumen diff --git a/README_fr.md b/README_fr.md index eb45ffe..5b53bea 100644 --- a/README_fr.md +++ b/README_fr.md @@ -12,6 +12,7 @@ Traductions: * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) ## Introduction diff --git a/README_ja.md b/README_ja.md index 8976927..91e004d 100644 --- a/README_ja.md +++ b/README_ja.md @@ -12,6 +12,7 @@ * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) ## 概要 diff --git a/README_ko.md b/README_ko.md index c2a83e4..5b87785 100644 --- a/README_ko.md +++ b/README_ko.md @@ -12,6 +12,7 @@ * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) ## 개요 diff --git a/README_ptBR.md b/README_ptBR.md index 0dd484e..f603278 100644 --- a/README_ptBR.md +++ b/README_ptBR.md @@ -12,6 +12,7 @@ Traduções: * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) ## Visão geral diff --git a/README_ro.md b/README_ro.md index 32105f2..3ddff28 100644 --- a/README_ro.md +++ b/README_ro.md @@ -12,6 +12,7 @@ Traduceri: * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) ## General diff --git a/README_ru.md b/README_ru.md index 8587e9a..76e5996 100755 --- a/README_ru.md +++ b/README_ru.md @@ -2,14 +2,17 @@ Translations: +* [English](README.md) * [한국어 문서](README_ko.md) * [简体中文](README_zh.md) * [正體中文](README_zh-TW.md) * [简体中文](README_zh-CN.md) - ??? * [Français](README_fr.md) * [日本語](README_ja.md) +* [Portuguese](README_ptBR.md) * [Español](README_es.md) -* [English](README.md) +* [Română](README_ro.md) +* [Русский](README_ru.md) ## Overview diff --git a/README_zh-CN.md b/README_zh-CN.md index 68a623d..758c4ad 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -10,6 +10,7 @@ * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) 这是Go应用程序项目的基础布局。这不是Go核心开发团队定义的官方标准;无论是在经典项目还是在新兴的项目中,这都是Go生态系统中一组常见的项目布局模式。这其中有一些模式比另外的一些更受欢迎。它通过几个支撑目录为任何足够大规模的实际应用程序提供一些增强功能。 diff --git a/README_zh-TW.md b/README_zh-TW.md index 12c11e3..c8a57de 100644 --- a/README_zh-TW.md +++ b/README_zh-TW.md @@ -12,6 +12,7 @@ * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) 這是 Go 應用程式專案的基本目錄結構。它不是核心 Go 開發團隊定義的官方標準;然而,它是 Go 生態系統中一組常見的老專案和新專案的目錄結構。其中一些目錄結構比其他目錄結構更受歡迎。這個專案目錄結構還有一些細微的改進,可以支援任何大型且實用的應用程式目錄結構。 diff --git a/README_zh.md b/README_zh.md index dfc2634..a20e069 100644 --- a/README_zh.md +++ b/README_zh.md @@ -12,6 +12,7 @@ * [Portuguese](README_ptBR.md) * [Español](README_es.md) * [Română](README_ro.md) +* [Русский](README_ru.md) 这是 Go 应用程序项目的基本布局。它不是核心 Go 开发团队定义的官方标准;然而,它是 Go 生态系统中一组常见的老项目和新项目的布局模式。其中一些模式比其他模式更受欢迎。它还具有许多小的增强,以及对任何足够大的实际应用程序通用的几个支持目录。