Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryooooooga committed Nov 9, 2021
1 parent b6ddc1d commit 6488818
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,27 @@ Today is 2021-05-02!

### Functions

| name | signature | implementation |
|:-------------------|:----------------------------------------------|:-------------------------|
| `Now` | `func() time.Time` | `time.Now` |
| `Base` | `func(string) string` | `path.Base` |
| `Ext` | `func(string) string` | `path.Ext` |
| `Dir` | `func(string) string` | `path.Dir` |
| `Abs` | `func(string) (string, error)` | `filepath.Abs` |
| `Getwd` | `func(string) (string, error)` | `os.Getwd` |
| `Getenv` | `func(string) string` | `os.Getenv` |
| `HasPrefix` | `func(string) bool` | `strings.HasPrefix` |
| `HasSuffix` | `func(string) bool` | `strings.HasSuffix` |
| `LowerCamelCase` | `func(string) string` | `strcase.LowerCamelCase` |
| `UpperCamelCase` | `func(string) string` | `strcase.UpperCamelCase` |
| `SnakeCase` | `func(string) string` | `strcase.SnakeCase` |
| `UpperSnakeCase` | `func(string) string` | `strcase.UpperSnakeCase` |
| `KebabCase` | `func(string) string` | `strcase.KebabCase` |
| `UpperKebabCase` | `func(string) string` | `strcase.UpperKebabCase` |
| `Replace` | `func(string, string, string, int) string` | `strings.Replace` |
| `ReplaceAll` | `func(string, string, string) string` | `strings.ReplaceAll` |
| `Shell` | `func(string) (string, error)` | `exec.Command("/bin/sh", "-c", command).Output()` |
| `RegexReplaceAll` | `func(string, string, string) (string, error)`| `regexp.Compile(pattern).ReplaceAllString(src, replace)` |
| name | signature | implementation |
|:-------------------|:-------------------------------------------------------------------|:---------------------------------------------------------|
| `Now` | `func() time.Time` | `time.Now` |
| `Base` | `func(string) string` | `path.Base` |
| `Ext` | `func(string) string` | `path.Ext` |
| `Dir` | `func(string) string` | `path.Dir` |
| `Abs` | `func(string) (string, error)` | `filepath.Abs` |
| `Getwd` | `func(string) (string, error)` | `os.Getwd` |
| `Getenv` | `func(string) string` | `os.Getenv` |
| `HasPrefix` | `func(string) bool` | `strings.HasPrefix` |
| `HasSuffix` | `func(string) bool` | `strings.HasSuffix` |
| `LowerCamelCase` | `func(string) string` | `strcase.LowerCamelCase` |
| `UpperCamelCase` | `func(string) string` | `strcase.UpperCamelCase` |
| `SnakeCase` | `func(string) string` | `strcase.SnakeCase` |
| `UpperSnakeCase` | `func(string) string` | `strcase.UpperSnakeCase` |
| `KebabCase` | `func(string) string` | `strcase.KebabCase` |
| `UpperKebabCase` | `func(string) string` | `strcase.UpperKebabCase` |
| `Replace` | `func(string, string, string, int) string` | `strings.Replace` |
| `ReplaceAll` | `func(string, string, string) string` | `strings.ReplaceAll` |
| `Shell` | `func(command string) (string, error)` | `exec.Command("/bin/sh", "-c", command).Output()` |
| `RegexReplaceAll` | `func(src string, pattern string, replace string) (string, error)` | `regexp.Compile(pattern).ReplaceAllString(src, replace)` |

## Installation

Expand Down

0 comments on commit 6488818

Please sign in to comment.