os.Setenv only changes the environment variables in your process and in any future child processes. It's not actually possible to change the environment of your parent process or the OS through this mechanism.
-- Marcin On Tue, Mar 5, 2019 at 6:00 AM <durgasomeswararao...@gmail.com> wrote: > Hi, > I am trying to enable tls 1.3 through os.setEnv() method. Is setenv method > will change process level or from os level(I mean will it change in device > and other running applications)? > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.