Skip to content
baldurstodPublic

About

A VDF (Valve Data Format) parser for go

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

GoDoc

vdf

A VDF (Valve Data Format) parser for go. Handles comments and UTF-8 characters

Installation

go get -u github.com/baldurstod/vdf

Example

Parse data inside items_game.txt

package main

import (
	"os"
	"github.com/baldurstod/vdf"
)

func main() {
	buf, err := os.ReadFile("items_game.txt")
	if err != nil {
		panic(err)
	}

	vdf := vdf.VDF{}
	items := vdf.Parse(buf)

	/*
	 ...
	 */
}

About

A VDF (Valve Data Format) parser for go

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages