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: opaque.go
    path of file: ./repos/merlin/pkg/opaque
    
    the code of the file until where you have to start completion: /*
Merlin is a post-exploitation command and control framework.

This file is part of Merlin.
Copyright (C) 2023 Russel Van Tuyl

Merlin is free software: you can redistribute it and/or modify
it
    
func ServerAuthenticateComplete(o opaque.Opaque, server *Server) error {
	slog.Log(context.Background(), logging.LevelTrace, "entering into function")

	var userComplete gopaque.UserAuthComplete
	errFromBytes := userComplete.FromBytes(gopaque.CryptoDefault, o.Payload)
	if errFromBytes != nil {
		return fmt.Errorf("there was an error unmarshalling the user complete message from bytes:\r\n%s", errFromBytes)
	}

	// server auth finish
	errAuthFinish := server.auth.Finish(&userComplete)
	if errAuthFinish != nil {
		return fmt.Errorf("there was an error finishing authentication:\r\n%s", errAuthFinish)
	}

	return nil
}