Skip to content

Commit

Permalink
Allow importing parse tree proto with cgo disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga committed Dec 1, 2023
1 parent 1844250 commit 1f94564
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parser/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// Package parser includes the actual parsing logic using cgo to access libpg_query.
package parser
2 changes: 2 additions & 0 deletions pg_query.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build cgo

package pg_query

import (
Expand Down

0 comments on commit 1f94564

Please sign in to comment.