-
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use go-fsimpl to read from datasources
Signed-off-by: Dave Henderson <[email protected]>
- Loading branch information
1 parent
886c3b2
commit ee4118e
Showing
82 changed files
with
2,810 additions
and
4,076 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
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
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
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,98 @@ | ||
package data | ||
|
||
import ( | ||
"github.com/hairyhenderson/gomplate/v4/internal/parsers" | ||
) | ||
|
||
// temporary aliases for parser functions while I figure out if they need to be | ||
// exported from the internal parsers package | ||
|
||
// JSON - Unmarshal a JSON Object. Can be ejson-encrypted. | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var JSON = parsers.JSON | ||
|
||
// JSONArray - Unmarshal a JSON Array | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var JSONArray = parsers.JSONArray | ||
|
||
// YAML - Unmarshal a YAML Object | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var YAML = parsers.YAML | ||
|
||
// YAMLArray - Unmarshal a YAML Array | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var YAMLArray = parsers.YAMLArray | ||
|
||
// TOML - Unmarshal a TOML Object | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var TOML = parsers.TOML | ||
|
||
// CSV - Unmarshal CSV | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var CSV = parsers.CSV | ||
|
||
// CSVByRow - Unmarshal CSV in a row-oriented form | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var CSVByRow = parsers.CSVByRow | ||
|
||
// CSVByColumn - Unmarshal CSV in a Columnar form | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var CSVByColumn = parsers.CSVByColumn | ||
|
||
// ToCSV - | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var ToCSV = parsers.ToCSV | ||
|
||
// ToJSON - Stringify a struct as JSON | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var ToJSON = parsers.ToJSON | ||
|
||
// ToJSONPretty - Stringify a struct as JSON (indented) | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var ToJSONPretty = parsers.ToJSONPretty | ||
|
||
// ToYAML - Stringify a struct as YAML | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var ToYAML = parsers.ToYAML | ||
|
||
// ToTOML - Stringify a struct as TOML | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var ToTOML = parsers.ToTOML | ||
|
||
// CUE - Unmarshal a CUE expression into the appropriate type | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var CUE = parsers.CUE | ||
|
||
// ToCUE - Stringify a struct as CUE | ||
// | ||
// Deprecated: will be removed in a future version of gomplate. If you have a | ||
// need for this, please open an issue! | ||
var ToCUE = parsers.ToCUE |
Oops, something went wrong.