Skip to content
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

Add getters to table.Column #158

Merged
merged 3 commits into from
Nov 23, 2023

Conversation

prgres
Copy link
Contributor

@prgres prgres commented Nov 23, 2023

Expose column fields with read-only access to prevent messing up with bubble tea flow.

#157

@Evertras
Copy link
Owner

LGTM, everything is just a direct set from the user so no underlying surprises from the values. Just need to add quick tests to keep coverage up, fortunately should be the world's easiest tests...

@prgres
Copy link
Contributor Author

prgres commented Nov 23, 2023

@Evertras done

table/column_test.go Outdated Show resolved Hide resolved
@Evertras
Copy link
Owner

Small tweak to one test with 10 vs test.width and need to fix whitespace for linting, then good to go.

@prgres
Copy link
Contributor Author

prgres commented Nov 23, 2023

Weird that linter that not shout at me during development 🤔 Anyway, should be good now

@Evertras Evertras merged commit d6ce119 into Evertras:main Nov 23, 2023
7 checks passed
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.

2 participants