Skip to content

Create getting started console example #2

@justadreamer

Description

@justadreamer

Motivation

Create a basic example to test the library integration.

Background

See device-detection-go-examples that uses a device-detection-go library.

Objective

We need to create a similar example, but in the ip-intelligence-go repository using ip-intelligence-go library that should wrap the ip-intelligence-cxx library compiled with cgo. This library should be amalgamated (compressed into a single file by the script) as part of #1 - if there is a way to use it as a submodule for now without amalgamation - that would be a way to go.

The idea of the example is that it:

  1. loads the data file, can be taken from here
  2. processes some example IP addresses and returns the result
  3. that result (detected properties are output to the console).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions