Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
pkg/udf/donothing: Remove Name Function
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Walter <christian.walter@9elements.com>
  • Loading branch information
walterchris authored and tfg13 committed Dec 1, 2020
1 parent 5776899 commit efb4e54
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/userfunctions/donothing/donothing.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ package donothing

import "errors"

var name = "do_nothing"

var userFunctions = map[string]interface{}{
// sample function to prove that function registration works.
"do_nothing": func(a ...string) (string, error) {
Expand All @@ -19,11 +17,6 @@ var userFunctions = map[string]interface{}{
},
}

// Name - Return the Name of the UDFs
func Name() string {
return name
}

// Load - Return the user-defined functions
func Load() map[string]interface{} {
return userFunctions
Expand Down

0 comments on commit efb4e54

Please sign in to comment.