summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2022-09-25 10:32:07 -0400
committerDave Henderson <dhenderson@gmail.com>2022-09-25 10:56:26 -0400
commit7d9d3351ab165b3d9f6af767a707c33fbca5eb70 (patch)
tree400e0be0ca6d9e2308a3fc7cbf2cf1de0cd4aee3 /data
parent64a0269c2672c2d1a6984832cfd0a6ac1c0e725b (diff)
Fixing deprecation annotation syntax
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'data')
-rw-r--r--data/datasource.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/datasource.go b/data/datasource.go
index a8ce5e74..6e8117d9 100644
--- a/data/datasource.go
+++ b/data/datasource.go
@@ -76,6 +76,7 @@ func (d *Data) lookupReader(scheme string) (func(context.Context, *Source, ...st
}
// Data -
+//
// Deprecated: will be replaced in future
type Data struct {
Ctx context.Context
@@ -98,6 +99,7 @@ func (d *Data) Cleanup() {
}
// NewData - constructor for Data
+//
// Deprecated: will be replaced in future
func NewData(datasourceArgs, headerArgs []string) (*Data, error) {
cfg := &config.Config{}
@@ -138,6 +140,7 @@ func FromConfig(ctx context.Context, cfg *config.Config) *Data {
}
// Source - a data source
+//
// Deprecated: will be replaced in future
type Source struct {
Alias string