Skip to content

Commit

Permalink
fixed the module declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
tacheraSasi committed Dec 6, 2024
1 parent 5e43145 commit 3a9b744
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ func init() {
Mapper["string"] = &object.Module{Name: "string", Functions: StringFunctions}
Mapper["crypto"] = &object.Module{Name: "crypto", Functions: CryptoFunctions}
Mapper["regex"] = &object.Module{Name: "regex", Functions: RegexFunctions}
Mapper["shell"] = &object.Module{Name: "shell", Functions: RegexFunctions}
Mapper["dotenv"] = &object.Module{Name: "dotenv", Functions: RegexFunctions}
Mapper["sysinfo"] = &object.Module{Name: "sysinfo", Functions: RegexFunctions}
Mapper["encoding"] = &object.Module{Name: "encoding", Functions: RegexFunctions}
Mapper["colors"] = &object.Module{Name: "colors", Functions: RegexFunctions}

Mapper["shell"] = &object.Module{Name: "shell", Functions: ShellFunctions}
Mapper["dotenv"] = &object.Module{Name: "dotenv", Functions: DotenvFunctions} // Corrected
Mapper["sysinfo"] = &object.Module{Name: "sysinfo", Functions: SysInfoFunctions} // Corrected
Mapper["encoding"] = &object.Module{Name: "encoding", Functions: EncodingFunctions} // Corrected
Mapper["colors"] = &object.Module{Name: "colors", Functions: ColorsFunctions} // Corrected
}

0 comments on commit 3a9b744

Please sign in to comment.