pub struct GoModule {
pub path: String,
pub go_version: Option<String>,
}Expand description
Information extracted from a go.mod file.
Fields§
§path: StringModule path (e.g., "github.com/user/project").
go_version: Option<String>Go version directive (e.g., "1.21").
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GoModule
impl RefUnwindSafe for GoModule
impl Send for GoModule
impl Sync for GoModule
impl Unpin for GoModule
impl UnsafeUnpin for GoModule
impl UnwindSafe for GoModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more