Anton Malashin
Anton Malashin
Hello @mbenkmann Can you please give an example of what you want to achieve and how? I'm not sure why you would need a CommonEvent and how you are supposed...
This is another issue of **Go** not having unions. **sdl.Event** is not a struct, it's an interface. Since all event types implement it (because it's empty) type assertion is used...
Added two new methods to event interface. No breaking changes. ```go // Event is a union of all event structures used in SDL. // (https://wiki.libsdl.org/SDL_Event) type Event interface { GetType()...
Ye, this is what I proposed in the Tags way. Keep master as unstable. Add taged releases with every change (perhaps we should think about grouping several changes into one,...
`git log --oneline` seems to be good for this. The problem is that first line of commit message might be too short. Example of commit: `sdl: events: Split JoyDeviceEvent into...
I've looked in other alternatives and found that there will be and official **Go** solution to versioning, currently known as **vgo**. https://github.com/golang/proposal/blob/master/design/24301-versioned-go.md https://github.com/golang/go/wiki/vgo https://research.swtch.com/vgo https://www.youtube.com/watch?v=F8nrpe0XWRg ```bash $ vgo get rsc.io/quote@latest...
> I'm also thinking to tag our current version as v0.3 just so we have some breathing space as we work towards v1.0. This won't hurt, go for it. There...
I'm currently working on `CHANGELOG.md`. Found this more or less popular standard [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). **Things to point out:** 1. Rename all tags to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). v0.3.0 instead...
Wow, you did a lot :) I like grouping of functions, structs and types. `UpdateYUV()` was a part of v0.2. It shows up in v0.3 most likely due to not...
>JoyDeviceEvent is now split into JoyDeviceAddedEvent and JoyDeviceRemovedEvent This was done because JoyDeviceEvent's Which can contain two different types: >Sint32 | which | the joystick device index for the SDL_JOYDEVICEADDED...