171

command
v0.0.0-...-abfb1be Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: Unlicense Imports: 13 Imported by: 0

Documentation

Overview

AST-explorer is for inspecting Go AST nodes, like Elements tab of Chrome Deverloper Tools is for DOM elements.

Examples

Here are some instances where this might be useful.

// Figure out order of operators. Turns out you need parenthesis around (3*8), (2*8), etc.
fmt.Printf("%d\n", uint32(ip[0])<<3*8|uint32(ip[1])<<2*8|uint32(ip[2])<<1*8|uint32(ip[3]))

Jump to

Keyboard shortcuts

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