isGo property

bool get isGo

Checks if a file path or URL represents a Go source file.

Implementation

bool get isGo {
  final mt = mimeType();
  return mt == 'text/x-go';
}