GO

Constant GO 

Source
pub const GO: &str = r#"
    (function_declaration
      name: (identifier) @name) @function

    (method_declaration
      name: (field_identifier) @name) @method

    (type_declaration
      (type_spec
        name: (type_identifier) @name)) @type

    (type_declaration
      (type_spec
        name: (type_identifier) @name
        type: (struct_type))) @struct

    (type_declaration
      (type_spec
        name: (type_identifier) @name
        type: (interface_type))) @interface
"#;
Expand description

Go symbol extraction query