@autorest/go
Version:
AutoRest Go Generator
16 lines • 631 B
TypeScript
import * as go from '../../../codemodel.go/src/index.js';
export declare class ExampleContent {
readonly name: string;
readonly content: string;
constructor(name: string, content: string);
}
/**
* Creates the content for all the *_example_test.go files.
*
* @param pkg contains the package content
* @param target the codegen target for the module
* @param options the emitter options
* @returns the text for the files or the empty string
*/
export declare function generateExamples(pkg: go.TestPackage, target: go.CodeModelType, options: go.Options): Array<ExampleContent>;
//# sourceMappingURL=example.d.ts.map