Movatterモバイル変換


[0]ホーム

URL:


obscuretestdata

packagestandard library
go1.25.2Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2025 License:BSD-3-ClauseImports:3Imported by:0

Details

Repository

cs.opensource.google/go/go

Links

Documentation

Overview

Package obscuretestdata contains functionality used by tests to more easilywork with testdata that must be obscured primarily due togolang.org/issue/34986.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcDecodeToTempFile

func DecodeToTempFile(namestring) (pathstring, errerror)

DecodeToTempFile decodes the named file to a temporary location.If successful, it returns the path of the decoded file.The caller is responsible for ensuring that the temporary file is removed.

funcReadFile

func ReadFile(namestring) ([]byte,error)

ReadFile reads the named file and returns its decoded contents.

funcRot13added ingo1.19.4

func Rot13(data []byte) []byte

Rot13 returns the rot13 encoding or decoding of its input.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp