Skip to content

Commit

Permalink
Merge pull request #324 from se-omar/string-descs
Browse files Browse the repository at this point in the history
improve string descs
  • Loading branch information
brianvoe committed Jan 17, 2024
2 parents 6dce06a + cc9fb63 commit 9fe2b4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions string.go
Expand Up @@ -123,7 +123,7 @@ func addStringLookup() {
AddFuncLookup("letter", Info{
Display: "Letter",
Category: "string",
Description: "Generate a single random lower case ASCII letter",
Description: "Character or symbol from the American Standard Code for Information Interchange (ASCII) character set",
Example: "g",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -134,7 +134,7 @@ func addStringLookup() {
AddFuncLookup("lettern", Info{
Display: "LetterN",
Category: "string",
Description: "Generate a random ASCII string with length N",
Description: "ASCII string with length N",
Example: "gbRMaRxHki",
Output: "string",
Params: []Param{
Expand All @@ -153,7 +153,7 @@ func addStringLookup() {
AddFuncLookup("vowel", Info{
Display: "Vowel",
Category: "string",
Description: "Generate a single random lower case vowel",
Description: "Speech sound produced with an open vocal tract",
Example: "a",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -164,7 +164,7 @@ func addStringLookup() {
AddFuncLookup("digit", Info{
Display: "Digit",
Category: "string",
Description: "Generate a single ASCII digit",
Description: "Numerical symbol used to represent numbers",
Example: "0",
Output: "string",
Generate: func(r *rand.Rand, m *MapParams, info *Info) (any, error) {
Expand All @@ -175,7 +175,7 @@ func addStringLookup() {
AddFuncLookup("digitn", Info{
Display: "DigitN",
Category: "string",
Description: "Generate a random string of length N consists of ASCII digits",
Description: "string of length N consisting of ASCII digits",
Example: "0136459948",
Output: "string",
Params: []Param{
Expand Down Expand Up @@ -254,7 +254,7 @@ func addStringLookup() {
AddFuncLookup("randomstring", Info{
Display: "Random String",
Category: "string",
Description: "Randomly grab one string from array",
Description: "Return a random string from a string array",
Example: "hello,world,whats,up => world",
Output: "[]string",
Params: []Param{
Expand Down

0 comments on commit 9fe2b4c

Please sign in to comment.