Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
Isan-Rivkin committed Sep 13, 2023
1 parent 6da922a commit 0f12b59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/actions/lua/net/url/url.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ func Open(l *lua.State) {
}

var library = []lua.RegistryFunction{
{Name: "parse", Function: Parse},
{Name: "parse", Function: parse},
}

func Parse(l *lua.State) int {
func parse(l *lua.State) int {
rawURL := lua.CheckString(l, 1)
u, err := neturl.Parse(rawURL)
if err != nil {
Expand Down

0 comments on commit 0f12b59

Please sign in to comment.