conventions.io

Tech Challenge

2026-11-03

🦫

Daily Tech Challenge

Go

medium
Question 1 of 5

Which kind of declaration is a valid target for a //go:embed directive in Go?

Example
package main

import _ "embed"

//go:embed hello.txt
var greeting string

Tuesday, November 3, 2026 · A new challenge drops every day