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
NewParserWithConfig
returnParser
interface 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.Weapon
should now be identical (see #119) - Changed type of
Item{Pickup,Drop,Equip}.Weapon
fromEquipment
struct to pointer of the same type - Removed
Item{Pickup,Drop,Equip}.WeaponPtr