Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zkfmapf123/go-js-utils
Using js method in golang
https://github.com/zkfmapf123/go-js-utils
functional-programming go javascript library method-chaining
Last synced: 3 days ago
JSON representation
Using js method in golang
- Host: GitHub
- URL: https://github.com/zkfmapf123/go-js-utils
- Owner: zkfmapf123
- Created: 2024-04-27T09:05:16.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-28T13:52:46.000Z (7 months ago)
- Last Synced: 2024-06-19T11:30:59.108Z (5 months ago)
- Topics: functional-programming, go, javascript, library, method-chaining
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go-JS-Utils
## Desc
- Using js method in Golang
## Install
```
go get -u github.com/zkfmapf123/[email protected]
```## Object Method
[object code](./object.go)
|golang|js-method|
|---|---|
|OKeys|Object.keys|
|OValues|Object.values|
|OEntries|Object.entries|## Array Method
[array code](./array.go)
- Contains
## Wrapping Method
[wrapArray code](./wrapArray.go)
|golang|js-method|
|---|---|
|Map|map|
|Filter|filter|
|Reduce|reduce|## parallelism
[promise code](./parallelism.go)
- PromiseAll
## Help
- golines