Skip to content

Commit 23552f5

Browse files
committed
initial working sequence
1 parent 99949f2 commit 23552f5

29 files changed

+6264
-1
lines changed

.github/workflows/pull-request.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Pull Request Checks
2+
3+
on:
4+
pull_request:
5+
branches: [ main ]
6+
7+
jobs:
8+
test-and-lint:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- name: Set up Go
14+
uses: actions/setup-go@v4
15+
with:
16+
go-version: '1.24'
17+
18+
- name: Run tests
19+
run: go test ./...
20+
21+
- name: Run linter
22+
run: golangci-lint run

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# If you prefer the allow list template instead of the deny list, see community template:
2+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
3+
#
4+
# Binaries for programs and plugins
5+
*.exe
6+
*.exe~
7+
*.dll
8+
*.so
9+
*.dylib
10+
11+
# Test binary, built with `go test -c`
12+
*.test
13+
14+
# Output of the go coverage tool, specifically when used with LiteIDE
15+
*.out
16+
17+
# Dependency directories (remove the comment below to include it)
18+
# vendor/
19+
20+
# Go workspace file
21+
go.work
22+
go.work.sum
23+
24+
# env file
25+
.env

.golangci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
run:
2+
tests: false
3+
4+
issues:
5+
include:
6+
- EXC0001
7+
- EXC0005
8+
- EXC0011
9+
- EXC0012
10+
- EXC0013
11+
12+
max-issues-per-linter: 0
13+
max-same-issues: 0
14+
15+
linters:
16+
enable:
17+
- bodyclose
18+
- errcheck
19+
- gofumpt
20+
- goimports
21+
- gosec
22+
- gosimple
23+
- govet
24+
- nilerr
25+
- revive
26+
- rowserrcheck
27+
- sqlclosecheck
28+
- staticcheck
29+
- tparallel
30+
- unconvert
31+
- unparam
32+
- whitespace

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/collections.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 comfygopher
3+
Copyright (c) 2025 Oxio
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.adoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
= Comfy Gopher
2+
3+
*A Set of general-purpose Tools, Utilities, and Data Structures for Comfortable Development*
4+
5+
These tools prioritize speed and ease of development over strict efficiency or full compliance with Go philosophy.
6+
They accelerate development and enhance the experience, by reducing the cognitive load,
7+
making them well suited for rapid prototyping.
8+
9+
== Alternatives
10+
11+
There is a very nice library https://github.com/charbz/gophers[github.com/charbz/gophers].
12+
Its API is a mix of mutable and immutable operations, which can be confusing.
13+
Most of the methods there do return a new collection instance though. This has its applications,
14+
but at the same time it presents some inconveniences when working with extensive amount of
15+
other libraries that expect mutable elements.

0 commit comments

Comments
 (0)