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: serverconfig.go
    path of file: ./repos/client/go/stellar/remote
    
    the code of the file until where you have to start completion: package remote

import (
	"context"

	"github.com/keybase/client/go/libkb"
	"github.com/keybase/client/go/protocol/stellar1"
)

// Getting server config - like currency definitions - from the
// server, using `stellar/config` API.

type configResult struct {
	Status     libkb.AppStat
    
func FetchServerConfig(ctx context.Context, g *libkb.GlobalContext) (ret stellar1.StellarServerDefinitions, err error) {
	mctx := libkb.NewMetaContext(ctx, g)
	apiArg := libkb.APIArg{
		Endpoint:    "stellar/config",
		SessionType: libkb.APISessionTypeNONE,
	}

	var res configResult
	if err := mctx.G().API.GetDecode(mctx, apiArg, &res); err != nil {
		return ret, err
	}

	ret.Revision = res.Revision
	ret.Currencies = res.Currencies
	return ret, nil
}