-
Couldn't load subscription status.
- Fork 2
Fix/version #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kooksee
wants to merge
61
commits into
release/0.6
Choose a base branch
from
fix/version
base: release/0.6
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix/version #50
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
5e05089
chore: set version from build info main version
kooksee 3b2b861
feat: add embedded version string and getter
kooksee e947b5d
refactor(log): improve logger copying and deprecate WithEvent
kooksee 7c0a437
fix: barry quick fix, 2025-09-08 01:09:57
kooksee 54bd373
fix: barry quick fix, 2025-09-12 23:58:36
kooksee ebc6fb5
refactor(vars): replace expvar with atomic types and fix Result logic
kooksee a9805a0
fix: barry quick fix, 2025-09-13 09:54:55
kooksee 7726faf
refactor: remove deprecated Result function
kooksee 0a8a1b6
chore: quick update fix/version at 2025-09-15 23:52:18
kooksee 5030e67
chore: quick update fix/version at 2025-09-16 18:31:37
kooksee b606183
fix: barry quick fix, 2025-09-16 20:42:29
kooksee 82d51f9
fix: barry quick fix, 2025-09-16 20:51:06
kooksee 4aee6c0
chore: quick update fix/version at 2025-09-16 22:00:15
kooksee 5921f06
chore: quick update fix/version at 2025-09-17 17:07:01
kooksee 7c14e8e
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee 4781f16
chore: quick update fix/version at 2025-09-17 22:36:02
kooksee 42e184c
chore: quick update fix/version at 2025-09-18 14:28:25
kooksee bc28ade
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee 60706fd
chore: quick update fix/version at 2025-09-19 20:56:03
kooksee 47c1cd2
chore: quick update fix/version at 2025-09-22 11:25:30
kooksee 5f3032e
chore: quick update fix/version at 2025-09-22 11:32:08
kooksee db141c1
chore: quick update fix/version at 2025-09-23 13:34:47
kooksee 34a5ee7
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee 83b32e5
chore: quick update fix/version at 2025-09-23 23:13:48
kooksee 51ec515
chore: quick update fix/version at 2025-09-24 11:45:48
kooksee c9256fc
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee 7571a94
chore: quick update fix/version at 2025-09-24 23:16:29
kooksee 2d5aebe
refactor(log): improve slog level conversion and error handling
kooksee 0fbd459
chore: add merge package placeholder
kooksee dcc97b1
chore: quick update fix/version at 2025-09-26 15:25:41
kooksee 403889a
refactor: replace Unwrap with Must in config merge calls
kooksee 3e5f4c7
fix: encode error stack as base64 and improve error formatting
kooksee e41d241
chore: quick update fix/version at 2025-09-26 22:09:29
kooksee a87a3f9
refactor(assert): improve error logging with stack traces
kooksee 3637372
refactor(result): improve error logging with stack traces
kooksee 75c337f
chore: quick update fix/version at 2025-09-27 19:04:57
kooksee 13870f2
chore(deps): update urfave/cli/v3 to v3.4.1
kooksee f18214a
chore: quick update fix/version at 2025-09-30 10:01:37
kooksee 2c51cd9
chore: quick update fix/version at 2025-09-30 10:57:58
kooksee bb06e00
chore: quick update fix/version at 2025-10-08 20:59:34
kooksee d597c4b
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee 5003f5d
chore: quick update fix/version at 2025-10-08 23:20:37
kooksee d138a1d
chore: quick update fix/version at 2025-10-09 17:55:38
kooksee 5179d86
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee ad63fdd
chore: quick update fix/version at 2025-10-10 20:01:46
kooksee f278a42
chore: quick update fix/version at 2025-10-11 15:42:00
kooksee 7de4d1a
chore: quick update fix/version at 2025-10-11 15:43:03
kooksee 88b2ba8
chore: quick update fix/version at 2025-10-12 21:20:47
kooksee 4870c3a
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee 9c12448
chore: quick update fix/version at 2025-10-15 20:48:23
kooksee ea17e19
chore: quick update fix/version at 2025-10-17 10:27:45
kooksee 4b2de87
refactor: reorganize buildinfo and update dependencies
kooksee 580ab5d
chore: quick update fix/version at 2025-10-18 20:49:51
kooksee 7557d0d
chore: quick update fix/version at 2025-10-22 09:56:19
kooksee 0b9dfec
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee 3d0d368
chore: quick update fix/version at 2025-10-22 18:36:17
kooksee f4b8776
chore: quick update fix/version at 2025-10-22 20:26:40
kooksee f8010d8
chore: quick update fix/version at 2025-10-28 18:10:30
kooksee 97e7f35
chore: quick update fix/version at 2025-10-28 19:48:04
kooksee b6733a9
Merge branch 'fix/version' of github.com:pubgo/funk into fix/version
kooksee 43d3de9
chore: quick update fix/version at 2025-10-29 21:10:38
kooksee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [url "[email protected]:"] | ||
| insteadOf = https://github.com/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| version: "2" | ||
| issues: | ||
| fix: true | ||
| linters: | ||
| default: none | ||
| enable: | ||
| - govet | ||
| exclusions: | ||
| presets: | ||
| - comments | ||
| - common-false-positives | ||
| - legacy | ||
| - std-error-handling | ||
| paths: | ||
| - internal/example | ||
| - cmds | ||
| - vendor | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
| formatters: | ||
| enable: | ||
| - goimports | ||
| - gofmt | ||
| - gofumpt | ||
| settings: | ||
| gofumpt: | ||
| extra-rules: true | ||
| goimports: | ||
| # A list of prefixes, which, if set, checks import paths | ||
| # with the given prefixes are grouped after 3rd-party packages. | ||
| # Default: [] | ||
| local-prefixes: | ||
| - github.com/pubgo/funk/v2 | ||
| gofmt: | ||
| # Simplify code: gofmt with `-s` option. | ||
| # Default: true | ||
| simplify: false | ||
| # Apply the rewrite rules to the source before reformatting. | ||
| # https://pkg.go.dev/cmd/gofmt | ||
| # Default: [] | ||
| rewrite-rules: | ||
| - pattern: 'interface{}' | ||
| replacement: 'any' | ||
| - pattern: 'a[b:len(a)]' | ||
| replacement: 'a[b:]' | ||
|
|
||
| exclusions: | ||
| paths: | ||
| - internal/example | ||
| - vendor | ||
| - examples$ | ||
| - proto |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| v2.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package assert | ||
|
|
||
| import "github.com/pubgo/funk/v2/features" | ||
|
|
||
| const Name = "assert" | ||
|
|
||
| var FeatureDebugMode = features.Bool("assert.debug_mode", false, "debug mode, pretty stack and error") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error message "a,b not equal" is not very descriptive. When an equality check fails, it's very helpful for debugging to see the difference between the two values. The
cmp.Difffunction is great for this. Also, thepp.Printlncalls print to standard output, but their output is not part of the error that gets logged or panicked. Including the diff in the error message would make debugging much easier.