a52934ef4d
This change prevents Go code produced by the API generator from importing its own package. Previously, we tried to prevent self imports by skipping import paths whose last segment matched the generated Go code's package name. However, aliased imports circumvented this. We now require API definitions to define the Go package path so that we can compare this with the import path directly. Change-Id: I7ae7ec5e1a342d2f76cd28ff72d4cd7285c2820a |
||
---|---|---|
.. | ||
example | ||
common_test.go | ||
common.go | ||
docgen.go | ||
endpoint_test.go | ||
endpoint.go | ||
gogen_test.go | ||
gogen.go | ||
tsgen.go | ||
tsgenmock.go | ||
tstypes_test.go | ||
tstypes.go |