// Bytes generates a byte slice of n number of random bytes.
funcBytes(nint)([]byte,error){
b:=make([]byte,n)
_,err:=rand.Read(b)
iferr!=nil{
returnnil,err
}
returnb,nil
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.