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: main.go
    path of file: ./repos/go-ethereum/cmd/clef
    
    the code of the file until where you have to start completion: // Copyright 2018 The go-ethereum Authors
// This file is part of go-ethereum.
//
// go-ethereum is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License 
    
func listAccounts(c *cli.Context) error {
	internalApi, _, err := initInternalApi(c)
	if err != nil {
		return err
	}
	accs, err := internalApi.ListAccounts(context.Background())
	if err != nil {
		return err
	}
	if len(accs) == 0 {
		fmt.Println("\nThe keystore is empty.")
	}
	fmt.Println()
	for _, account := range accs {
		fmt.Printf("%v (%v)\n", account.Address, account.URL)
	}
	return err
}