BSD Ports

misc/goplaces 0.4.0_8 FreeBSD

Modern Google Places CLI in Go

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
MIT
Categories
misc
Package size
2651.4 KiB, 8028.7 KiB installed

Description

goplaces is a modern Go client and CLI for the Google Places API (New). It is fast for humans and tidy for scripts.

Features:

  • Text search with filters: keyword, type, open now, min rating, price levels
  • Autocomplete suggestions for places and queries (session tokens supported)
  • Nearby search around a location restriction
  • Place photos in details and photo media URLs
  • Route search along a driving path (Routes API)
  • Directions between two points with distance, duration, and steps (Routes API)
  • Location bias (lat/lng/radius) and pagination tokens
  • Place details: hours, phone, website, rating, price, types
  • Optional reviews in details
  • Resolve free-form location strings to candidate places
  • Locale hints (language + region) across search/resolve/details
  • CLI with color human output and --json (respects NO_COLOR)

In the other systems

SystemPortVersion
FreeBSDmisc/goplaces0.4.0_8
MidnightBSDmisc/goplaces0.3.0
HardenedBSDmisc/goplaces0.4.0_6
GhostBSDmisc/goplaces0.4.0_6

Install

Binary package:

pkg install goplaces

From the ports tree:

cd /usr/ports/misc/goplaces/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	goplaces>0:misc/goplaces

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.0_70.4.0_7--0.4.0_7
FreeBSD:14:quarterly0.4.0_70.4.0_7n/a-0.4.0_7
FreeBSD:15:latest0.4.0_70.4.0_7n/a--
FreeBSD:15:quarterly0.4.0_70.4.0_7n/an/an/a
FreeBSD:16:latest0.4.0_60.4.0_7n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Required by 1

Configuration

No options to configure.

USES
go:modules
Service scripts
none

Files

distinfo 2
FileSizeSHA256
go/misc_goplaces/goplaces-v0.4.0/v0.4.0.mod9160f6f0092a46c24efa8d810136066dab94634f09f97a3a8ff37f99d7812ac365
go/misc_goplaces/goplaces-v0.4.0/v0.4.0.zip66318026a1a9906effd3de605293429c1a0b21078c013fe599d1bbac70ddcb5bb1f8d

Commit history 7

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7
6d39dcf04e Dag-Erling Smørgrav various: Bump go ports for go-1.25.13 / 1.26.6

The latest 5 of 7 in the history this site was built from.