Flatpak VS Code doesn't see the go binary

Hi! No matter what I’ve tried it doesn’t work. Currently, I have these permissions for VS Code:

[Context]
shared=network;ipc;
sockets=x11;pulseaudio;ssh-auth;
devices=all;
features=devel;
filesystems=home;host-etc;/usr/local/go/bin;host-os;host;

[Session Bus Policy]
org.freedesktop.Flatpak=talk
org.freedesktop.Notifications=talk
com.canonical.AppMenu.Registrar=talk
com.canonical.AppMenu.Registrar.*=talk
org.freedesktop.secrets=talk

[System Bus Policy]
org.freedesktop.login1=talk

[Environment]
LD_LIBRARY_PATH=/app/lib
NPM_CONFIG_GLOBALCONFIG=/app/etc/npmrc
XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons

and settings applied in settings.json:

    "go.goroot": "/usr/local/go",
    "go.alternateTools": {
        "go": "/usr/local/go/bin/go"
    },

How to fix my permissions or/and settings to let Go binary be visible?