You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both Add() and Set() methods modify the existing mapping.
As Add() method is used only by Set() and Difference(), and
in latter it's done thread-safely, make add private method
and document that Set() is not thread-safe.
Set() is used only by flag package through Value interface,
which is documented to be called only once, i.e. it's safe.
0 commit comments