Replace all calls to os.Remove/os.RemoveAll by retrying util.Remove/util.RemoveAll and remove circular dependencies from util. Fix #12339 Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: silverwind <[email protected]>
* refactor: remove workaround after the golang 1.7 release. * remove unused import. Signed-off-by: Bo-Yi Wu <[email protected]> * refactor: Add remove function. * refactor: rename * refactor: update build flag