-
Notifications
You must be signed in to change notification settings - Fork 0
/
modules.go
34 lines (31 loc) · 1.91 KB
/
modules.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//go:generate go run generator.go
package main
import (
rsmbase64 "github.com/risor-io/risor/modules/base64"
rsmbcrypt "github.com/risor-io/risor/modules/bcrypt"
rsmbytes "github.com/risor-io/risor/modules/bytes"
rsmcarbon "github.com/risor-io/risor/modules/carbon"
rsmcli "github.com/risor-io/risor/modules/cli"
rsmcolor "github.com/risor-io/risor/modules/color"
rsmexec "github.com/risor-io/risor/modules/exec"
rsmfmt "github.com/risor-io/risor/modules/fmt"
rsmhttp "github.com/risor-io/risor/modules/http"
rsmjson "github.com/risor-io/risor/modules/json"
rsmnet "github.com/risor-io/risor/modules/net"
rsmos "github.com/risor-io/risor/modules/os"
rsmrand "github.com/risor-io/risor/modules/rand"
rsmregexp "github.com/risor-io/risor/modules/regexp"
rsmsemver "github.com/risor-io/risor/modules/semver"
rsmsql "github.com/risor-io/risor/modules/sql"
rsmstrconv "github.com/risor-io/risor/modules/strconv"
rsmstrings "github.com/risor-io/risor/modules/strings"
rsmtablewriter "github.com/risor-io/risor/modules/tablewriter"
rsmtime "github.com/risor-io/risor/modules/time"
rsmuuid "github.com/risor-io/risor/modules/uuid"
rsmyaml "github.com/risor-io/risor/modules/yaml"
rsmsched "github.com/rubiojr/risor-modules/sched"
)
func globalModules() map[string]any {
a := map[string]any{"strings": rsmstrings.Module(), "tablewriter": rsmtablewriter.Module(), "base64": rsmbase64.Module(), "exec": rsmexec.Module(), "fmt": rsmfmt.Module(), "net": rsmnet.Module(), "rand": rsmrand.Module(), "sql": rsmsql.Module(), "yaml": rsmyaml.Module(), "semver": rsmsemver.Module(), "bcrypt": rsmbcrypt.Module(), "color": rsmcolor.Module(), "time": rsmtime.Module(), "uuid": rsmuuid.Module(), "carbon": rsmcarbon.Module(), "json": rsmjson.Module(), "sched": rsmsched.Module(), "bytes": rsmbytes.Module(), "cli": rsmcli.Module(), "http": rsmhttp.Module(), "os": rsmos.Module(), "regexp": rsmregexp.Module(), "strconv": rsmstrconv.Module()}
return a
}