الجولة دون اتصال بالإنترنت (اختياري)
الجولة دون اتصال بالإنترنت (اختياري)
هذه الجولة متاحة أيضًا بوصفها برنامجًا مستقلًا يمكنك استخدامه دون اتصال بالإنترنت. وهو يبني أمثلة الشيفرة ويشغّلها على جهازك الخاص.
لتشغيل الجولة محليًا، ستحتاج أولًا إلى تثبيت Go ثم تنفيذ:
go install golang.org/x/website/tour@latest
سيضع هذا ملفًا تنفيذيًا باسم tour ضمن مسار
GOPATH الخاص بك، في دليل bin.
عندما تشغّل برنامج الجولة، سيفتح متصفّح ويب يعرض
نسختك المحلية من الجولة.
بالطبع، يمكنك مواصلة الجولة عبر هذا الموقع.
النص الأصلي بالإنجليزية
Go offline (optional)
This tour is also available as a stand-alone program that you can use without access to the internet. It builds and runs the code samples on your own machine.
To run the tour locally, you'll need to first install Go and then run:
go install golang.org/x/website/tour@latest
This will place a tour binary in your
GOPATH's bin directory.
When you run the tour program, it will open a web browser displaying
your local version of the tour.
Of course, you can continue to take the tour through this web site.