go_game_constractor

package module
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: GPL-3.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

go_game_constractor

Function for constart game based on script for voice assistent. Example Marusia

SCG

SCG - script generator. Generate script structs, functions for store texts of script in redis from yml, or json, or xml file.

Example of use:
scg --output=./scg/ --script=./scg/example/echo_game.yml
Description
Args:
  • -o --output=file - path to dir where need generate files
  • -s --script - path to config file
  • -v --version - show program version
  • -u --update - save user changes in files
Note:

With the --update flag, user changes are saved unchanged. Comments are embedded in the code with the code that was generated based on the new initializing file. These comments are limited to the lines // >>>>>>> Generated. The decision to apply the changes remains with you, as well as the decision to remove unnecessary functionality.

Example of comments:
package example

func DoNothing() error {
	// >>>>>>> Generated 
	// 	return errors.New("Hello")
	// >>>>>>> Generated 
	return nil /// User changes
}

Documentation

Index

Constants

View Source
const Version = "v0.1.2-alpha"

Version - version of app

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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