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: base58_test.go
    path of file: ./repos/sliver/util/encoders
    
    the code of the file until where you have to start completion: package encoders

/*
	Sliver Implant Framework
	Copyright (C) 2021  Bishop Fox

	This program is free software: you can redistribute it and/or 
    
func TestBase58(t *testing.T) {
	sample := randomData()

	b58 := new(Base58)
	output, _ := b58.Encode(sample)
	data, err := b58.Decode(output)
	if err != nil {
		t.Errorf("b58 decode returned an error %v", err)
	}
	if !bytes.Equal(sample, data) {
		t.Logf("sample = %#v", sample)
		t.Logf("output = %#v", output)
		t.Logf("  data = %#v", data)
		t.Errorf("sample does not match returned\n%#v != %#v", sample, data)
	}

}