
Company News
Socket Named to Rising in Cyber 2026 List of Top Cybersecurity Startups
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.
github.com/dasrmipt/go-vk-api
Advanced tools
Golang wrapper for VK API
Install the package with:
go get github.com/urShadow/go-vk-api
Import it with:
import "github.com/urShadow/go-vk-api"
and use vk as the package name inside the code.
package main
import (
"github.com/urShadow/go-vk-api"
"log"
"strconv"
)
func main() {
api := vk.New("ru")
// set http proxy
//api.Proxy = "localhost:8080"
err := api.Init("TOKEN")
if err != nil {
log.Fatalln(err)
}
api.OnNewMessage(func(msg *vk.LPMessage) {
if msg.Flags&vk.FlagMessageOutBox == 0 {
if msg.Text == "/hello" {
api.Messages.Send(vk.RequestParams{
"peer_id": strconv.FormatInt(msg.FromID, 10),
"message": "Hello!",
"forward_messages": strconv.FormatInt(msg.ID, 10),
})
}
}
})
api.RunLongPoll()
}
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.

Security News
A dispute over fsnotify maintainer access set off supply chain alarms around one of Go’s most widely used filesystem libraries.