Skip to content

Commit 48da2ca

Browse files
committed
style: fix up formatting
1 parent d5660d1 commit 48da2ca

5 files changed

Lines changed: 23 additions & 23 deletions

File tree

core/global.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ var (
5656
)
5757

5858
type RunnerInput struct {
59-
RIo *RadIo
60-
RExit *func(int)
61-
RReq *Requester
62-
RClock Clock
63-
RSleep *func(duration time.Duration)
59+
RIo *RadIo
60+
RExit *func(int)
61+
RReq *Requester
62+
RClock Clock
63+
RSleep *func(duration time.Duration)
6464
RShell *func(invocation ShellInvocation) (string, string, int)
6565
RadHome *string
6666
RTermWidth *int

core/testing/snapshot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type SnapshotCase struct {
4646
// 0 means not set (default behavior: no width override).
4747
TermWidth int
4848

49-
Stdout string
49+
Stdout string
5050
Stderr string
5151
ExitCode int
5252
}

core/text_attr.go

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ var COLOR_STRINGS = make([]string, 0)
3939

4040
// this collection should have matching in-built functions
4141
var attrEnumToStrings = map[RadTextAttr]string{
42-
PLAIN: "plain",
43-
BLACK: "black",
44-
RED: "red",
45-
GREEN: "green",
46-
YELLOW: "yellow",
47-
BLUE: "blue",
48-
MAGENTA: "magenta",
49-
CYAN: "cyan",
50-
WHITE: "white",
51-
ORANGE: "orange",
52-
PINK: "pink",
42+
PLAIN: "plain",
43+
BLACK: "black",
44+
RED: "red",
45+
GREEN: "green",
46+
YELLOW: "yellow",
47+
BLUE: "blue",
48+
MAGENTA: "magenta",
49+
CYAN: "cyan",
50+
WHITE: "white",
51+
ORANGE: "orange",
52+
PINK: "pink",
5353
BOLD: "bold",
5454
DIM: "dim",
5555
ITALIC: "italic",

rts/embedded/functions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ convert_duration
1111
count
1212
cyan
1313
debug
14-
dim
1514
decode_base16
1615
decode_base64
1716
delete_path
17+
dim
1818
encode_base16
1919
encode_base64
2020
ends_with

rts/rl/consts.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,11 @@ const (
190190
F_CONTEXT = "context"
191191

192192
// Keywords
193-
KEYWORD_ASC = "asc"
194-
KEYWORD_DESC = "desc"
195-
KEYWORD_RAD = "rad"
196-
KEYWORD_REQUEST = "request" // deprecated, kept for migration diagnostics
197-
KEYWORD_DISPLAY = "display" // deprecated, kept for migration diagnostics
193+
KEYWORD_ASC = "asc"
194+
KEYWORD_DESC = "desc"
195+
KEYWORD_RAD = "rad"
196+
KEYWORD_REQUEST = "request" // deprecated, kept for migration diagnostics
197+
KEYWORD_DISPLAY = "display" // deprecated, kept for migration diagnostics
198198
KEYWORD_INSECURE = "insecure"
199199
KEYWORD_QUIET = "quiet"
200200
KEYWORD_NOPRINT = "noprint"

0 commit comments

Comments
 (0)