lancet
A comprehensive, efficient, and reusable util function library of Go.
File Explorer
Download Latest Version (.zip)- codecov.yml
- FUNDING.yml
- lrucache.go
- lrucache_example_test.go
- lrucache_test.go
- search.go
- search_example_test.go
- search_test.go
- sort.go
- sort_example_test.go
- sort_test.go
- compare.go
- compare_example_test.go
- compare_internal.go
- compare_test.go
- channel.go
- channel_example_test.go
- channel_test.go
- keyed_locker.go
- keyed_locker_test.go
- condition.go
- condition_example_test.go
- condition_test.go
- constraints.go
- convertor.go
- convertor_example_test.go
- convertor_internal.go
- convertor_test.go
- basic.go
- basic_test.go
- crypto.go
- crypto_example_test.go
- crypto_internal.go
- crypto_test.go
- gm_example_test.go
- gm_sm2.go
- gm_sm3.go
- gm_sm4.go
- gm_test.go
- rsa_private.pem
- rsa_private_example.pem
- rsa_public.pem
- rsa_public_example.pem
- hashmap.go
- hashmap_test.go
- maxheap.go
- maxheap_test.go
- doublylink.go
- doublylink_test.go
- singlylink.go
- singlylink_test.go
- copyonwritelist.go
- copyonwritelist_test.go
- list.go
- list_test.go
- optional.go
- optional_test.go
- arrayqueue.go
- arrayqueue_test.go
- circularqueue.go
- circularqueue_test.go
- linkedqueue.go
- linkedqueue_test.go
- priorityqueue.go
- priorityqueue_test.go
- set.go
- set_test.go
- arraystack.go
- arraystack_test.go
- linkedstack.go
- linkedstack_test.go
- bstree.go
- bstree_test.go
- tree_internal.go
- node.go
- conversion.go
- conversion_test.go
- datetime.go
- datetime_example_test.go
- datetime_test.go
- common.ts
- config.mts
- en.ts
- zh.ts
- copyonwritelist.md
- hashmap.md
- heap.md
- link.md
- list.md
- optional.md
- queue.md
- set.md
- stack.md
- tree.md
- algorithm.md
- compare.md
- concurrency.md
- condition.md
- convertor.md
- cryptor.md
- datetime.md
- enum.md
- eventbus.md
- fileutil.md
- formatter.md
- function.md
- maputil.md
- mathutil.md
- netutil.md
- pointer.md
- random.md
- retry.md
- slice.md
- stream.md
- struct.md
- strutil.md
- system.md
- tuple.md
- validator.md
- xerror.md
- overview.md
- copyonwritelist.md
- hashmap.md
- heap.md
- link.md
- list.md
- optional.md
- queue.md
- set.md
- stack.md
- tree.md
- algorithm.md
- compare.md
- concurrency.md
- condition.md
- convertor.md
- cryptor.md
- datetime.md
- enum.md
- eventbus.md
- fileutil.md
- formatter.md
- function.md
- maputil.md
- mathutil.md
- netutil.md
- pointer.md
- random.md
- retry.md
- slice.md
- stream.md
- struct.md
- strutil.md
- system.md
- tuple.md
- validator.md
- xerror.md
- overview.md
- contribution_guide.md
- contributors.md
- getting_started.md
- introduction.md
- sponsor.md
- index.md
- contribution_guide.md
- contributors.md
- getting_started.md
- introduction.md
- lancet_logo.png
- lancet_logo_mini.png
- sponsor_btn.png
- wechat_pay.png
- sponsor.md
- index.md
- package-lock.json
- package.json
- enum.go
- enum_example_test.go
- enum_test.go
- eventbus.go
- eventbus_example_test.go
- eventbus_test.go
- demo2.csv
- demo.csv
- file.go.zip
- test.txt
- test1.csv
- test2.csv
- test3.csv
- test4.csv
- file.go
- file_example_test.go
- file_test.go
- file_windows.go
- file_windows_test.go
- address.go
- address_data.go
- address_helper.go
- address_test.go
- byte.go
- byte_test.go
- formatter.go
- formatter_example_test.go
- formatter_test.go
- function.go
- function_example_test.go
- function_test.go
- predicate.go
- predicate_example_test.go
- predicate_test.go
- watcher.go
- watcher_example_test.go
- watcher_test.go
- assert.go
- assert_test.go
- error_join.go
- iterator.go
- iterator_test.go
- operation.go
- operation_test.go
- concurrentmap.go
- concurrentmap_test.go
- map.go
- map_example_test.go
- map_test.go
- orderedmap.go
- orderedmap_test.go
- mathutil.go
- mathutil_exmaple_test.go
- mathutil_test.go
- http.go
- http_test.go
- net.go
- net_example_test.go
- net_internal.go
- net_test.go
- pointer.go
- pointer_examples_test.go
- pointer_test.go
- promise.go
- promise_example_test.go
- promise_test.go
- random.go
- random_example_test.go
- random_test.go
- retry.go
- retry_example_test.go
- retry_test.go
- slice.go
- slice_concurrent.go
- slice_example_test.go
- slice_internal.go
- slice_test.go
- stream.go
- stream_example_test.go
- stream_test.go
- field.go
- field_test.go
- struct.go
- struct_test.go
- tag.go
- string.go
- string_example_test.go
- string_internal.go
- string_test.go
- os.go
- os_darwin.go
- os_example_test.go
- os_linux.go
- os_test.go
- os_windows.go
- tuple.go
- tuple_example_test.go
- tuple_test.go
- validator.go
- validator_example_test.go
- validator_test.go
- stack.go
- trycatch.go
- trycatch_test.go
- xerror.go
- xerror_example_test.go
- xerror_test.go
- .gitignore
- CONTRIBUTION.md
- CONTRIBUTION.zh-CN.md
- go.mod
- go.sum
- LICENSE
- logo.png
- README.md
- README_zh-CN.md
- SECURITY.md
🚀 Installation Guide
1. Get the code
git clone https://github.com/duke-git/lancet
Downloads the entire project code from GitHub to your computer.
cd lancet
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
cd docs
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
3. Go
MediumPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
