.go Go-Quelltext
Text & Quellcode
| MIME-Typ | text/x-go |
|---|---|
| Beschreibung | Go-Quelltext |
| Kategorie | Text & Quellcode |
| Basiert auf | text/plain |
Häufige Fragen
Was ist eine .go-Datei?
Eine .go-Datei ist ein Format vom Typ „Go-Quelltext“ (MIME-Typ text/x-go).
Womit öffne ich eine .go-Datei?
Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.
Woran erkennt man eine echte .go-Datei?
Für dieses Format ist keine feste Signatur am Dateianfang hinterlegt; erkannt wird es vor allem an der Endung. Unter Linux und macOS zeigt file --mime-type example.go den vermuteten Typ.
Auf welchem Format basiert .go?
Technisch ist eine .go-Datei ein Untertyp von „Einfaches Textdokument“ (text/plain). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .go?
Der MIME-Typ ist text/x-go. Im Apache-Webserver: AddType text/x-go .go; in nginx: types { text/x-go go; }.