Skip to content

Conversation

@csolarz
Copy link
Owner

@csolarz csolarz commented Oct 23, 2025

Aislar interface observable para ordenar estructura del codigo.

image

- Renamed and restructured fields in Portfolio, Stock, and AllocatedStock for clarity and consistency.
- Improved rebalance logic and summary output in Portfolio, and updated observer pattern interfaces and method names.
- Added VSCode launch configuration for debugging main.go.
Refactored Portfolio to improve error handling in AddStock, rebalance logic, and thread safety in Stock. Moved summary display to a new summary.go file and updated main.go to use it. Portfolio tests were expanded for AddStock validation. Observable interface moved to its own package for better separation.
@csolarz csolarz changed the base branch from master to develop October 28, 2025 14:48
@csolarz csolarz closed this Oct 28, 2025
@csolarz csolarz deleted the featur/adding-patterns branch October 28, 2025 14:48
@csolarz csolarz restored the featur/adding-patterns branch November 13, 2025 03:47
@csolarz csolarz reopened this Nov 13, 2025
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