An open API service indexing awesome lists of open source software.

https://github.com/jacobious52/from-go-duration


https://github.com/jacobious52/from-go-duration

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# from-go-duration

tiny helper for parsing go durations in nu shell

# wrap in a nu func

```nu
def "from go-duration" [] {
$in | from-go-duration | complete | get stdout | into duration
}
```

## example

```nu
k get node | detect columns | update AGE {|it| $it.AGE | from go-duration } | sort-by AGE -r
```