{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://inquir.org/go-serverless-functions#webpage","url":"https://inquir.org/go-serverless-functions","name":"Go 1.22 serverless functions in isolated containers","headline":"Go 1.22 serverless functions in isolated containers","description":"Go 1.22 serverless functions in isolated containers: net/http handlers, full Go module ecosystem, native concurrency, sub-millisecond cold start potential, and shared gateway routing with Node.js and Python functions.","inLanguage":"en-US","isPartOf":{"@id":"https://inquir.org/#website"},"author":{"@type":"Organization","name":"Inquir"},"datePublished":"2025-01-01T00:00:00.000Z","dateModified":"2026-04-20T00:00:00.000Z","citation":"https://inquir.org/docs"},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://inquir.org"},{"@type":"ListItem","position":2,"name":"Go serverless functions","item":"https://inquir.org/go-serverless-functions"}]},{"@type":"TechArticle","@id":"https://inquir.org/go-serverless-functions#article","headline":"Go 1.22 serverless functions in isolated containers","description":"Go 1.22 serverless functions in isolated containers: net/http handlers, full Go module ecosystem, native concurrency, sub-millisecond cold start potential, and shared gateway routing with Node.js and Python functions.","inLanguage":"en-US","author":{"@type":"Organization","name":"Inquir"},"datePublished":"2025-01-01T00:00:00.000Z","dateModified":"2026-04-20T00:00:00.000Z","isPartOf":{"@id":"https://inquir.org/go-serverless-functions#webpage"}},{"@type":"FAQPage","@id":"https://inquir.org/go-serverless-functions#faq","url":"https://inquir.org/go-serverless-functions","isPartOf":{"@id":"https://inquir.org/go-serverless-functions#webpage"},"mainEntity":[{"@type":"Question","name":"Does CGO work in Inquir Go functions?","acceptedAnswer":{"@type":"Answer","text":"Yes. Functions run in full Docker-based containers with a real Linux build environment—CGO packages build and run as expected, unlike edge runtimes."}},{"@type":"Question","name":"Can I import packages from private Go module registries?","acceptedAnswer":{"@type":"Answer","text":"Yes—configure GONOSUMCHECK and GOMODCACHE settings via workspace secrets and build configuration. Private module credentials are injected at build time, not stored in source."}},{"@type":"Question","name":"How does cold start compare to Node.js?","acceptedAnswer":{"@type":"Answer","text":"Go binaries typically start faster than Node.js for the same workload. Use hot containers for steady traffic patterns regardless of language for consistent p95 latency."}}]}]}