No description
Find a file
2026-02-27 18:25:03 +03:00
.github go.mod: upgrade to Go 1.25 min 2026-02-20 16:46:30 +03:00
internal *: apply make modernize 2026-02-27 18:17:10 +03:00
pkg/locodedb locodedb: slices.BinarySearchFunc is more smart than sort.Search 2025-10-21 13:22:46 +03:00
.gitignore workflows: switch to org-wide golangci-lint job 2024-09-10 12:42:58 +03:00
CHANGELOG.md CHANGELOG: release 0.8.2 2025-12-10 11:45:52 +03:00
continents.geojson.gz locode-db: use continents from known source 2024-08-27 12:10:37 +03:00
go.mod go.mod: update dependencies 2026-02-20 16:54:17 +03:00
go.sum go.mod: update dependencies 2026-02-20 16:54:17 +03:00
LICENSE.md LICENSE: change to MIT 2023-10-04 16:14:53 +03:00
Makefile Makefile: add modernize target 2026-02-27 18:16:20 +03:00
override.csv locode-db: override collisions with file 2024-08-20 15:58:32 +03:00
README.md README: make it a bit more friendly 2023-11-28 17:00:59 +03:00

NeoFS

UN/LOCODE database for NeoFS


Go Reference GitHub release GitHub license

Overview

This repository contains UN/LOCODE DB in a Go package. It can be used to get additional information about continent, country code and name, location, geo-position, subdivision based on LOCODE.

Prerequisites

Usage

Import github.com/nspcc-dev/locode-db/pkg/locodedb into your project and use its API.

Development

Just run make to regenerate CSV files with locodes and countries.

$ make

License

This project is licensed under the MIT license - see the LICENSE.md file for details.