import cycle not allowed

63 views
Skip to first unread message

ibrahim Yildirim

unread,
Oct 20, 2020, 3:11:34 PM10/20/20
to Golang Türkiye
Herkese Merhabalar,
Github'a push ettigim bir çalışmamı, projeme import ederek kullanmak istiyorum ama,
package command-line-arguments
iimports github.com/ibrahimcss/webs/block: import cycle not allowed

hatası alıyorum, net bir çözüm bulamadım, yardımcı olurmsunuz.

Kerem Koca

unread,
Oct 20, 2020, 3:48:50 PM10/20/20
to gola...@googlegroups.com

For one of our projects in California, we are looking for a BackEnd senior engineer that has worked on software and tech solutions at scale to join our team.  Development experience across the stack with a focus on backend utilizing Go (Golang) is essential. Experience with building applicants that have millions of concurrent users would be nice but not required. Experience with distributed systems and/or micro services is preferred. 

Currently the expectation is work remotely but relocation will be possible in time. 

Please e-mail me if you are interested.

Kerem

atakanc...@gmail.com

unread,
Oct 20, 2020, 4:11:38 PM10/20/20
to Golang Türkiye
Merhaba, iki paket birbirlerini aynı anda import edemezler, aksi takdirde import cycle oluşur. Paketler tek import yönlü olacak şekilde planlanmalıdır. Ayrıca bir paket içerisinde kendisini import etmeye çalışırsanız bu sorunla da karşılaşabilirsiniz.

20 Ekim 2020 Salı tarihinde saat 22:11:34 UTC+3 itibarıyla ibrahimyi...@gmail.com şunları yazdı:

ibrahim Yildirim

unread,
Oct 21, 2020, 3:05:06 AM10/21/20
to Golang Türkiye
atakan hocam merhaba,
github'a import ettiğim dosyalar arasında bulunan go.mod dosyasında include olarak projemin github dosya adresi bulunmakta, ve go get ile github dosyasını çektiğimde src dizininin altına inen github kütüphanemi main fonksiyonunda import ile çekiyorum, aceba github dosyamda bulunan go.mod dosyamda include olarak yine github adresimin bulunmasımı hataya sebep olmuştur. ?
20 Ekim 2020 Salı tarihinde saat 23:11:38 UTC+3 itibarıyla atakanc...@gmail.com şunları yazdı:
Reply all
Reply to author
Forward
0 new messages