Module: GoonModelGen::Golang

Defined in:
lib/goon_model_gen/golang.rb,
lib/goon_model_gen/golang/enum.rb,
lib/goon_model_gen/golang/file.rb,
lib/goon_model_gen/golang/type.rb,
lib/goon_model_gen/golang/field.rb,
lib/goon_model_gen/golang/struct.rb,
lib/goon_model_gen/golang/builtin.rb,
lib/goon_model_gen/golang/package.rb,
lib/goon_model_gen/golang/modifier.rb,
lib/goon_model_gen/golang/packages.rb,
lib/goon_model_gen/golang/sentence.rb,
lib/goon_model_gen/golang/named_slice.rb,
lib/goon_model_gen/golang/structs_loader.rb,
lib/goon_model_gen/golang/combination_type.rb,
lib/goon_model_gen/golang/predeclared_type.rb,
lib/goon_model_gen/golang/datastore_supported.rb,
lib/goon_model_gen/golang/datastore_package_factory.rb

Defined Under Namespace

Classes: Builtin, CombinationType, DatastorePackageFactory, DatastoreSupported, Enum, Field, File, Modifier, NamedSlice, Package, Packages, PredeclaredType, Sentence, Struct, StructsLoader, Type

Class Method Summary collapse

Class Method Details

.builtin_packagePackage

Returns:



16
17
18
# File 'lib/goon_model_gen/golang.rb', line 16

def builtin_package
  Buildin.package
end

.gopathObject



10
11
12
13
# File 'lib/goon_model_gen/golang.rb', line 10

def gopath
  # Instead of $GOPATH
  `go env GOPATH`.strip
end