struct

Noir::EncoreExtractor::GoFile

Inherits Struct < Value < Object

One parsed .go file. Request types may live in another file of the package, so callers merge structs per directory.

Constructors

new(package : String | Nil, apis : Array(GoApi), structs : Hash(String, Array(GoField)))
Source

Instance methods

apis
clone
Source
copy_with(package _package = @package, apis _apis = @apis, structs _structs = @structs)
Source
package
structs