chore: remove docker - a lightweight project is beautiful

This commit is contained in:
Samuel Berthe
2025-09-24 16:22:11 +02:00
parent 3bc887c57c
commit 7e6d6e0673
3 changed files with 2 additions and 19 deletions

View File

@@ -26,7 +26,7 @@ jobs:
# remove tests in order to clean dependencies
- name: Remove xxx_test.go files
run: rm -rf $(find . -type f -name "*_test.go") docker-compose.yml img/
run: rm -rf $(find . -type f -name "*_test.go") img/
# cleanup test dependencies
- name: Cleanup dependencies

View File

@@ -2989,7 +2989,7 @@ nth, err := lo.Nth([]int{0, 1, 2, 3}, -2)
### NthOr
Returns the element at index `nth` of the collection. If `nth` is negative, it returns the `nth` element from the end. If `nth` is out of slice bounds, it returns the provided fallback value
```go
```go
nth := lo.NthOr([]int{10, 20, 30, 40, 50}, 2, -1)
// 30
@@ -4294,14 +4294,6 @@ Don't hesitate ;)
Helper naming: helpers must be self-explanatory and respect standards (other languages, libraries...). Feel free to suggest many names in your contributions.
### With Docker
```bash
docker-compose run --rm dev
```
### Without Docker
```bash
# Install some dev dependencies
make tools

View File

@@ -1,9 +0,0 @@
version: '3'
services:
dev:
image: golang:1.18-bullseye
volumes:
- ./:/go/src/github.com/samber/lo
working_dir: /go/src/github.com/samber/lo
command: make watch-test