You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: context.go
    path of file: ./repos/corteza/server/pkg/locale
    
    the code of the file until where you have to start completion: package locale

import (
	"context"

	"golang.org/x/text/language"
)

func SetAcceptLanguageToContext(ctx context.Context, code language.Tag) con
    
func GetAcceptLanguageFromContext(ctx context.Context) language.Tag {
	if tag, ok := ctx.Value(language.Tag{}).(language.Tag); ok {
		return tag
	} else {
		return defaultLanguage
	}
}