Can't call functions from files with specific suffix ( e.g. Foo_linux.go)

This page summarizes the projects mentioned and recommended in the original post on /r/golang

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

    Golang Newbie here! I am trying to call functions from an external library ( ipset_linux.go in https://github.com/vishvananda/netlink). Whenever I run go build main.go, it keeps complaining both netlink.IpsetAdd and netlink.IPSETENTRY as undefined! However, if I didn't call functions from files with the _linux suffix, it builds without any complain. I think it has something to do with the build constraint but I dont know how to fix it. Any help is greatly appreciated!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Gridlock the Bots (Maybe)

    1 project | news.ycombinator.com | 3 May 2024
  • Show HN: Clai v1.3 – Multi-vendor AI CLI tool, written in go

    1 project | news.ycombinator.com | 3 May 2024
  • Tview – Golang Terminal UI library with rich, interactive widgets

    1 project | news.ycombinator.com | 3 May 2024
  • HTTP Message Signatures

    1 project | news.ycombinator.com | 3 May 2024
  • Eliminate IPv4 tax on AWS, is it that easy?

    3 projects | dev.to | 3 May 2024