mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
17 lines
262 B
Go
17 lines
262 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"main/protos/query"
|
|
)
|
|
|
|
func testProtobuf() {
|
|
password := "P@ssw0rd"
|
|
|
|
query := &query.Query{}
|
|
query.Description = password // $ Source
|
|
|
|
log.Println(query.GetDescription()) // $ Alert
|
|
log.Println(query.GetId()) // OK
|
|
}
|