Skip to content

Conversation

umputun
Copy link
Member

@umputun umputun commented Feb 16, 2025

No description provided.

Enhance the generator to support SQL operations on enums. Update tests to verify the presence of necessary methods like `Value()`, `Scan()`, `MarshalText()`, and `UnmarshalText()`. Also, check for proper imports and error handling in `generator_test.go`. Modify the example status generator usage and add associated go.mod and go.sum files to track dependencies.
Implement SQL integration tests in `status_test.go` to verify the `Status` type's interaction with a SQLite database. This includes testing the `Value()` and `Scan()` methods for various status values, including string, byte slice, and nil inputs. Update imports and dependencies accordingly. Additionally, adjust the generator test by removing an unnecessary import check.
… integration tests for main package

Modify file permission mode from 0644 to 0o600 in main_test.go

add more tests

add tests for edge cases
Update golangci-lint action to skip package cache
@umputun umputun merged commit f443237 into master Feb 16, 2025
3 checks passed
@umputun umputun deleted the sql branch February 16, 2025 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant