formatting
This commit is contained in:
parent
d7dfbd221f
commit
221de5c509
@ -1,11 +1,11 @@
|
|||||||
package wand
|
package wand
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"code.squareroundforest.org/arpio/bind"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"reflect"
|
"reflect"
|
||||||
"regexp"
|
"regexp"
|
||||||
"code.squareroundforest.org/arpio/bind"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
var commandNameExpression = regexp.MustCompile("^[a-zA-Z_][a-zA-Z_0-9]*$")
|
var commandNameExpression = regexp.MustCompile("^[a-zA-Z_][a-zA-Z_0-9]*$")
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
package wand
|
package wand
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"code.squareroundforest.org/arpio/bind"
|
||||||
"slices"
|
"slices"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"unicode"
|
"unicode"
|
||||||
"code.squareroundforest.org/arpio/bind"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type value struct {
|
type value struct {
|
||||||
|
|||||||
@ -2,9 +2,10 @@
|
|||||||
Generated with https://code.squareroundforest.org/arpio/docreflect
|
Generated with https://code.squareroundforest.org/arpio/docreflect
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
package wand
|
package wand
|
||||||
|
|
||||||
import "code.squareroundforest.org/arpio/docreflect"
|
import "code.squareroundforest.org/arpio/docreflect"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
docreflect.Register("code.squareroundforest.org/arpio/wand/tools", "")
|
docreflect.Register("code.squareroundforest.org/arpio/wand/tools", "")
|
||||||
docreflect.Register("code.squareroundforest.org/arpio/wand/tools.Docreflect", "\nfunc(out, packageName, gopaths)")
|
docreflect.Register("code.squareroundforest.org/arpio/wand/tools.Docreflect", "\nfunc(out, packageName, gopaths)")
|
||||||
|
|||||||
2
help.go
2
help.go
@ -1,8 +1,8 @@
|
|||||||
package wand
|
package wand
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.squareroundforest.org/arpio/docreflect"
|
|
||||||
"code.squareroundforest.org/arpio/bind"
|
"code.squareroundforest.org/arpio/bind"
|
||||||
|
"code.squareroundforest.org/arpio/docreflect"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|||||||
243
iniparser.gen.go
243
iniparser.gen.go
File diff suppressed because one or more lines are too long
2
input.go
2
input.go
@ -1,9 +1,9 @@
|
|||||||
package wand
|
package wand
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"code.squareroundforest.org/arpio/bind"
|
||||||
"fmt"
|
"fmt"
|
||||||
"reflect"
|
"reflect"
|
||||||
"code.squareroundforest.org/arpio/bind"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func validateKeyValues(cmd Cmd, keyValues map[string][]string, originalNames map[string]string) error {
|
func validateKeyValues(cmd Cmd, keyValues map[string][]string, originalNames map[string]string) error {
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
package wand
|
package wand
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"reflect"
|
|
||||||
"code.squareroundforest.org/arpio/bind"
|
"code.squareroundforest.org/arpio/bind"
|
||||||
"io"
|
"io"
|
||||||
"time"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func filter[T any](list []T, predicate func(T) bool) []T {
|
func filter[T any](list []T, predicate func(T) bool) []T {
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"code.squareroundforest.org/arpio/wand/tools"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"code.squareroundforest.org/arpio/wand/tools"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
package tools
|
package tools
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
|
||||||
"strings"
|
|
||||||
"os/exec"
|
|
||||||
"os"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
|
"io"
|
||||||
|
"os"
|
||||||
|
"os/exec"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
func execc(stdin io.Reader, stdout, stderr io.Writer, command string, args []string, env []string) error {
|
func execc(stdin io.Reader, stdout, stderr io.Writer, command string, args []string, env []string) error {
|
||||||
|
|||||||
@ -1,18 +1,18 @@
|
|||||||
package tools
|
package tools
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
|
||||||
"bufio"
|
"bufio"
|
||||||
"errors"
|
|
||||||
"fmt"
|
|
||||||
"unicode"
|
|
||||||
"hash/fnv"
|
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"strings"
|
"errors"
|
||||||
|
"fmt"
|
||||||
|
"hash/fnv"
|
||||||
|
"io"
|
||||||
"os"
|
"os"
|
||||||
"sort"
|
|
||||||
"path"
|
"path"
|
||||||
|
"sort"
|
||||||
|
"strings"
|
||||||
|
"unicode"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ExecOptions struct {
|
type ExecOptions struct {
|
||||||
|
|||||||
@ -2,8 +2,8 @@ package tools
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"code.squareroundforest.org/arpio/docreflect/generate"
|
"code.squareroundforest.org/arpio/docreflect/generate"
|
||||||
"io"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
type MarkdownOptions struct {
|
type MarkdownOptions struct {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user