v2.0.0-beta.5
Pre-release
Pre-release
Doc Links
The new docs are hosted on the fabulous new go.dev page.
Package docs: https://pkg.go.dev/mod/github.com/markus-wa/demoinfocs-golang/[email protected]
API docs: https://pkg.go.dev/github.com/markus-wa/demoinfocs-golang/[email protected]/pkg/demoinfocs?tab=doc
Go Get
Watch out, there's a new module path for go get and import!
go get -u github.com/markus-wa/demoinfocs-golang/v2/pkg/demoinfocs
Breaking Changes
- See v2.0.0-beta.4 for more breaking changes since
v1.x - Made
NewParserWithConfigreturnParserinterface instead of private struct - Removed redundant funcs
common.EquipmentElementNames()andcommon.GamePhaseNames()
EquipmentType.String()andGamePhase.String()will achieve the same result. - Removed obsolete func
ItemPickup.WeaponTraceable()
ItemPickup.Weaponshould now be identical (see #119) - Changed type of
Item{Pickup,Drop,Equip}.WeaponfromEquipmentstruct to pointer of the same type - Removed
Item{Pickup,Drop,Equip}.WeaponPtr