1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

go: add Arabic translation (#15584)

This commit is contained in:
Machiavelli 2025-02-02 18:42:27 +02:00 committed by GitHub
parent de847debf9
commit e785dade88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

33
pages.ar/common/go.md Normal file
View file

@ -0,0 +1,33 @@
# go
> إدارة كود مصدر Go.
> بعض الأوامر الفرعية مثل `build` تحتوي على توثيق استخدام خاص بها.
> لمزيد من التفاصيل: <https://golang.org>.
- تنزيل وتثبيت حزمة محددة بالمسار الخاص بها:
`go get {{package_path}}`
- ترجمة وتشغيل ملف مصدر (يجب أن يحتوي على حزمة `main`):
`go run {{file}}.go`
- ترجمة ملف مصدر إلى ملف تنفيذي باسم محدد:
`go build -o {{executable}} {{file}}.go`
- ترجمة الحزمة الموجودة في المجلد الحالي:
`go build`
- تنفيذ جميع اختبارات الحزمة الحالية (يجب أن تنتهي الملفات بـ `_test.go`):
`go test`
- ترجمة وتثبيت الحزمة الحالية:
`go install`
- تهيئة وحدة جديدة في المجلد الحالي:
`go mod init {{module_name}}`