os: implement CreateTemp

Until tinygo implements fastrand(), use a placeholder RNG here.
This commit is contained in:
Dan Kegel
2021-11-30 09:52:28 -08:00
committed by Ron Evans
parent ec9fd3fb38
commit b123ffcea4
3 changed files with 198 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package os
// Export for testing.
var ErrPatternHasSeparator = errPatternHasSeparator