File: interface.go

package info (click to toggle)
golang-github-oschwald-maxminddb-golang-v2 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,132 kB
  • sloc: perl: 557; makefile: 3
file content (7 lines) | stat: -rw-r--r-- 257 bytes parent folder | download
1
2
3
4
5
6
7
package mmdbdata

// Unmarshaler is implemented by types that can unmarshal MaxMind DB data.
// This follows the same pattern as json.Unmarshaler and other Go standard library interfaces.
type Unmarshaler interface {
	UnmarshalMaxMindDB(d *Decoder) error
}