Skip to main content

find_go_struct_span

Function find_go_struct_span 

Source
pub fn find_go_struct_span(
    source: &str,
    struct_name: &str,
) -> Option<Range<usize>>
Expand description

Find the byte range of a named struct in Go source (type Name struct { ... }).