Thanks for reaching out to Q&A.
ConfigurationBuilder is a .net assembly that can be used in a .net function app. So there is no out-of-the-box functionality that the Functions offer to access the application setting/environment variables. Please note that you will have to use custom handlers in order to get Golang support in Azure functions. You can use the regular methods in GO that are used to access the environment variables in the custom handler as well.
Please refer to the following articles that access environment variables using Golang
https://www.geeksforgeeks.org/golang-environment-variables/
https://www.callicoder.com/go-read-write-environment-variables/
I hope this helps!
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.