command
module
Version:
v0.0.0-...-e0e5180
Opens a new window with list of versions in this module.
Published: Jan 4, 2018
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
tgdocs2go
Simple tool to parse telegram documentation and generate go code.
For example, in order to generate a struct for the User type, one needs to run
tgdocs2go User
and the following will be printed on stdout
// https://core.telegram.org/bots/api#User
type User struct {
ID int64 `json:"id"`
IsBot bool `json:"is_bot"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Username string `json:"username"`
LanguageCode string `json:"language_code"`
}
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.