-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move main.go back into SRC and attach module to flagmanifes…
…t schema Signed-off-by: Florin-Mihai Anghel <fanghel@google.com>
- Loading branch information
1 parent
9b8ddd8
commit 5bdfc10
Showing
4 changed files
with
20 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Package flagmanifest embeds the flag manifest into a code module. | ||
package flagmanifest | ||
|
||
import _ "embed" | ||
|
||
// Schema contains the embedded flag manifest schema. | ||
// | ||
//go:embed flag_manifest.json | ||
var Schema string | ||
|
||
// SchemaPath proviees the current path and version of flag manifest. | ||
const SchemaPath = "codegen/docs/schema/v0/flag_manifest.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters