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: lib.rs
    path of file: ./repos/kellnr/crates/db/pg_testcontainer/src
    
    the code of the file until where you have to start completion: use proc_macro::TokenStream;
use quote::quote;
use syn::{parse_macro_input, ItemFn};

#[proc_macro_attribute]
pub fn pg_testcontainer(_attr: TokenStream, stream: TokenStream) -> TokenStream {
    let input = parse_macro_input!(stream as ItemFn);

    let ItemFn {
        attrs,
        vis,
        sig,
        block,
    } = input;

    let stmts = &block.stmts;

    let output = quote! {
        #(#attrs)* #vis #sig {
            let docker = te
    
pub fn pg_testcontainer(_attr: TokenStream, stream: TokenStream) -> TokenStream {
    let input = parse_macro_input!(stream as ItemFn);

    let ItemFn {
        attrs,
        vis,
        sig,
        block,
    } = input;

    let stmts = &block.stmts;

    let output = quote! {
        #(#attrs)* #vis #sig {
            let docker = testcontainers::clients::Cli::default();
            let pg_container = docker.run(image::Postgres::default());
            let port = pg_container.get_host_port_ipv4(image::Postgres::PG_PORT);
            let admin = db::AdminUser::new("123".to_string(), "token".to_string(), "salt".to_string());
            let pg_db = db::PgConString::new("localhost", port, "kellnr", "admin", "admin", admin);
            let pg_db = db::ConString::Postgres(pg_db);
            //let pg_db = db::ConString::new("localhost", 5432, "postgres", "admin", "admin", "admin", "token", "salt");
            let test_db = db::Database::new(&pg_db).await.unwrap();
            #(#stmts)*
        }
    };

    output.into()
}