Skip to content

loafoe/mmdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mmdb

Download MindMax database using license key

usage

package main

import (
	"fmt"
	"io/ioutil"
	"os"
	
	"github.com/loafoe/mmdb"
)

func main() {
	file, err := ioutil.TempFile("", "*.mmdb")
	if err != nil {
		fmt.Printf("%v\n", err)
		return
	}

	resp, err := mmdb.Download(file.Name(), os.Getenv("LICENSE_KEY"))
	if err != nil {
		fmt.Printf("%v %v\n", resp, err)
	}
	fmt.Printf("Done: %s\n", file.Name())
}

license

License is MIT

About

Load MindMax DB files using license key

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages