This Go package implements the host-side of the Flutter platform_device_id plugin.
Import as:
import platform_device_id "github.com/BestBurning/platform_device_id/go"
Then add the following option to your go-flutter application options:
flutter.AddPlugin(&platform_device_id.PlatformDeviceIdPlugin{}),