In Go, how do you mark code as deprecated so that users get a warning when using it?

go
Edit
Report