Skip to content

Commit

Permalink
feat: add raw package getter
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed May 21, 2024
1 parent 9a42191 commit 71ddd0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/contemplate/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ func (s *Package) ScopeTypes() map[string]types.Object {
return s.scopeTypes
}

func (s *Package) Raw() *packages.Package {
return s.pkg
}

// ------------------------------------------------------------------------------------------------
// ~ Public methods
// ------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 71ddd0d

Please sign in to comment.