text/x-go

Go source code

DescriptionGo source code
File extensions.go
Based ontext/plain

Frequently asked questions

What is the MIME type text/x-go?

text/x-go denotes “Go source code”.

Which file extension does text/x-go use?

Files of type text/x-go usually end in .go.

How does a web server serve text/x-go correctly?

With the header Content-Type: text/x-go. In nginx: types { text/x-go go; }; in Apache: AddType text/x-go .go.

Nearby entries