fake

package
v0.170.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package fake demonstrates how to use concrete services and fake the interactions with them in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TranslateText

func TranslateText(service *translate.Service, text, language string) (string, error)

TranslateText translates text to the given language using the provided service.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL